An explosion inside the mosque on the outskirts of the Afghan capital Kabul killed at least 12 people during Friday prayers as worshippers gathered for the Eid al-Fitr holiday during a ceasefire.
The Taliban, which declared the three-day truce for Eid, in a statement condemned the attack and denied responsibility.
Ferdous Faramarz, spokesman for the Kabul police, said the mosque's Imam was among the 12 dead and that at least 15 people were wounded in the blast at the mosque in the capital's Shakar Dara district.
The blast came less than a week after an explosion at a school killed more than 80 people, most of them schoolgirls from the ethnic Hazara Shia Muslim minority. The Taliban also denounced that attack and no one claimed responsibility.