CAIRO — A bomb ripped through a security checkpoint on the outskirts of Cairo on Friday, killing six police officers and wounding three others, officials said, in the latest in a series of deadly attacks this year.

The bomb detonated next to a large mosque in Cairo’s twin city, Giza, less than two hours before hundreds flocked to the area for Friday Prayer.

The militant group Hasm, or Decisiveness, which has claimed responsibility for previous attacks at Egyptian security checkpoints, said it had carried out the bombing. The claim could not be verified.

Militants have frequently targeted Egyptian security forces since the military ousted the Islamist president, Mohamed Morsi, in 2013 and subsequently killed hundreds of his backers.