Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

SANAA, Yemen — A suicide bomber blew himself up during prayers at a mosque for the Eid al-Adha holiday on Thursday, killing 25 people in Yemen's capital Sanaa, security officials said.

Dozens were wounded in the blast at the al-Bolayli mosque, said the officials, who remain neutral in the conflict that has splintered the country. It is located in an area where many people support the Shiite Houthi rebels who control Sanaa.

Rebels check the Balili mosque in the capital Sanaa, following an explosion on Thursday. MOHAMMED HUWAIS / AFP via Getty Images

The security officials said the suicide bomber placed an explosive device in his shoe, causing an initial explosion. As worshippers rushed to the door, he detonated himself in the middle of the crowd.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Related: Anti-Houthi Forces Take Strategic City in Yemen

The officials spoke on condition of anonymity because they were not authorized to brief reporters.

There were puddles of blood and debris outside the mosque, whose ornate facade was damaged by the blast. Police and some Houthi fighters came to inspect the aftermath.

Eid al-Adha is a major Muslim holiday also known as the feast of sacrifice.

Yemen has been torn by a ferocious war pitting the Houthis and forces fighting for former President Ali Abdullah Saleh against fighters loyal to President Abed Rabbo Mansour Hadi, as well as southern separatists, local militias and Sunni extremists.