The mosque was attended by the members of the local Shiite minority.
The Pakistan consulate in the eastern Afghanistan city of Jalalabad was sealed off on Wednesday after a suicide bomber detonated himself followed by gunfire. Seven people have been reported killed.
At least 18 people including 14 foreigners were killed in a bloody Taliban-claimed attack.
Reports said the massive blast smashed windows of the buildings nearby and a huge plume of smoke could be seen spiralling over the high-security area.