(ap) -- Mohammad Salim Rasouli, chief of Kabul's hospitals, said Saturday that more than 50 others were wounded in the attack a day earlier.
Responsibility for the attack was claimed by the ISIS group.
There were four attackers. Two blew themselves up and another two were shot to death by Afghan security forces.
Family members and relatives of the victims gathered Saturday to bury the bodies inside the mosque compound.