At least five civilians were killed in a bomb blast outside a Kabul mosque on Sunday, a Taliban official said.
It was the deadliest attack in the Afghan capital since US forces left at the end of August.
There was no immediate claim of responsibility, but suspicion fell on ISIS extremists who have increased attacks on the Taliban in recent weeks, particularly in their eastern Afghanistan stronghold of Kandahar.
A roadside bomb went off at the gate of the sprawling Eid Gah Mosque in Kabul as a memorial service was being held for the mother of chief Taliban spokesman Zabihullah Mujahid.
Five people were killed, said Qari Khosti, the spokesman for the Interior Ministry.