There was no immediate claim of responsibility for the attack, but police said at least two gunmen had entered the mosque in the city of Gardez in the eastern province of Paktia, where dozens people were praying.
“Initial reports indicate that the militants opened fire and detonated an explosive,” said Sardar Vali Tabassum, a Gardez police officer, Reuters reported.
Police said they were trying to enter the mosque premises to help the injured.