Afghan protesters carry coffin of victims as they shout slogans against the militant Islamic State group following the attack. ─ AFP
"I lost all my loved ones, they even killed children as young as seven. This wasn't an attack on Shias, this was an attack on all Afghans, all Muslims," Farhad Dost, whose cousin died in the assault, told AFP.
Members of the Shia community said police had fled their checkpost, around 100 metres from the mosque, after the two attackers struck at around 8:00 pm on Tuesday.
'Died in my hands'
Angry locals then clashed with the police and set the checkpost on fire, according to witnesses who reported that officers opened fire, injuring some demonstrators.
The governor's spokesman said the police chief of the district had been suspended for "negligence" and a delegation from Kabul had been sent to investigate the attack.
Witnesses described scenes of terror and chaos, with emergency wards overwhelmed and survivors rushing victims to a hospital in their own vehicles and even on foot.
"There weren't enough ambulances... I tried to take a small child to the hospital but he died in my hands," Ali, who only gave one name, told AFP.
Farhad Afshar rushed to the mosque, where worshippers had gathered for prayers, after hearing the explosion.
"When I arrived the mosque was full of flesh and blood. I saw a mother crying and searching for her two children. She found one them wounded inside the mosque, the other was found dead in an ambulance," he told AFP.
Quoting survivors, he said the attackers first opened fire on the worshippers, then threw grenades before finally blowing themselves up inside the mosque.
IS has claimed responsibility for a series of attacks killing dozens of members of the Shia community in Kabul over the past year, including twin explosions in July 2016 that ripped through crowds of members of the Hazara community, killing at least 85 people and wounding more than 400.