At least 39 people died in the blast at the Imam Zaman mosque in the city’s western Dasht-e-Barchi district, interior ministry spokesman Najib Danish said.
The Islamic State group claimed responsibility for the attack, Reuters reported Friday evening. Shi’ite Muslims have suffered a series of attacks in Afghanistan in recent months, many of them claimed by the Sunni Muslim militants.
Separately, a suicide bombing killed at least 33 people at a mosque in central Ghor province, a police spokesman said.
WATCH: Rockets strike Kabul airport as Mattis makes NATO visit to Afghanistan
The attack appeared to target a local leader from the Jamiat political party, according to a statement from Balkh provincial governor Atta Mohammad Noor, a leading figure in Jamiat.
Again, no one immediately claimed responsibility.