During Friday prayers, an explosion inside a mosque on the outskirts of Kabul, Afghanistan's capital, killed at least 12 people as worshippers gathered for the Eid al-Fitr holiday during a ceasefire.