A suicide bomber in Afghanistan killed at least 40 people who were taking part in Milaad celebrations.

Public Health Ministry spokesman Wahid Majroh said another 60 people were wounded in the attack, which took place as Muslims around the world marked the birthday of the Prophet Muhammad. He said the toll could rise reports AP.

The suicide bomber was able to sneak into a wedding hall in Kabul where hundreds of religious scholars and clerics had gathered to mark the occasion.

"The victims of the attack unfortunately are all religious scholars who gathered to commemorate the birthday of Prophet Muhammad," said Basir Mujahid, spokesman for the Kabul police chief. He said police had not been asked to provide security for the event, and that the bomber had easily slipped into the hall.

No one immediately claimed the attack, but both the Taliban and a local Islamic State affiliate have targeted religious scholars aligned with the government in the past.

IS claimed a suicide bombing in June that targeted a meeting of the country's top clerics in the capital. That attack killed at least seven people and wounded 20. The body of religious leaders, known as the Afghan Ulema Council, had issued a decree against suicide attacks and called for peace talks.

IS said it had targeted "tyrant clerics" who were siding with the U.S.-backed government.