Hospital official says 5 killed in Afghan suicide bombing

Security forces inspect the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

Women leave the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

Security forces block the road at the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

Security forces inspect the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

A police man stands guard at his vehicle at the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

Security forces inspect the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

A police man stands guard at the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

Security forces inspect the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

A police man stands guard at his vehicle at the site of a suicide attack outside a Shiite mosque in Kabul, Afghanistan, Friday, Sept. 29, 2017. A suicide bomber blew himself up outside a Shiite mosque in the Afghan capital Kabul on Friday, killing four people and wounding 20 others, authorities said. (AP Photo/Massoud Hossaini)

KABUL, Afghanistan — A suicide bomber blew himself up outside a mosque in the Afghan capital on Friday, killing five people and wounding 29 others, authorities said, in the latest attack to target the country's minority Shiites.

Mohammad Salim Rasuli, chief of Kabul hospitals, confirmed the fatalities from the attack, which came as worshippers were leaving the Hussainia Mosque in central Kabul following Friday prayers. Police officer Abdul Rahman said the attacker blew himself up on the street about 1,000 meters (1,094 yards) from the mosque.

Police official Sadiq Muradi said police confronted the attacker as he came through a checkpoint near the holy site, calling for him to stop. But that's when he ignited his explosives, blowing himself up.

Mir Hussain Nasiri, a member of Kabul's Shiite clerics council, told The Associated Press the attacker was disguised as a sheepherder.

Mohammad Ismail, police chief of Kabul's 10th district, said a second person suspected of involvement was in custody.

Afghan President Mohammad Ashraf Ghani condemned the attack in a statement, saying the "terrorists" targeted civilians and their holy place, which shows the attackers "are against humanity and anti-religion and faith."

No one immediately claimed responsibility for the attack, which took place two days before the Muslim holy day of Ashura. But Afghanistan has faced a series of large-scale attacks in recent months targeting minority Shiites for which the Sunni-dominated Islamic State group affiliate in Afghanistan has taken responsibility.

In July, IS attacked the Iraqi Embassy in Kabul and then warned Shiites in Afghanistan that their mosques would be targeted. Sunni extremists consider Shiites to be heretics.

Within days of that, IS also took responsibility for a suicide attack on a Shiite mosque in western Herat province that left 32 people dead.

Last month, militants stormed a packed Shiite mosque in Kabul during Friday prayers in an attack that lasted for hours and ended with at least 20 worshippers killed and another 50 seriously wounded, many of them children. IS claimed it was responsible.

Also on Friday, an Afghan official said a Taliban attack on a police checkpoint left five police dead in western Farah province.

Iqbal Baher, spokesman for the provincial chief of police, says two others were wounded when the militants launched their attack early Friday in Bala Bluk district.

Baher said reinforcements from the Afghan national army arrived after several hours of fighting and pushed the Taliban fighters out of the district. He said the Afghan air force struck three Taliban vehicles as they tried to escape, killing at least 20 of the militants.