A suicide bombing and another blast have ripped through two mosques in Pakistan, killing at least 57 people and injuring more than 60 amid events marking the birthday of the Prophet Mohammed, police and health officials say.
No group has claimed responsibility for the blasts, one of which trapped dozens of people under rubble, media said.
They come amid a surge in militant attacks, raising the stakes for security forces ahead of general elections set for January.
The first blast, in the southwestern province of Balochistan, killed 52 people, according to district health official Abdul Rasheed.
"The bomber detonated himself near a police vehicle near Madina Mosque where people were gathering for a procession," senior police official Munir Ahmed said.
Five people died in a second blast in neighbouring northwestern Khyber Pakhtunkhwa that collapsed a mosque roof.
Broadcaster Geo News said 30 to 40 people were trapped under the rubble.
Both provinces border Afghanistan and have suffered attacks in recent years by Islamist militants, who aim to overthrow Pakistan's government and install their own brand of strict Islamic law.
The Balochistan blast was a rare attack on civilians as Islamist militants have largely targeted security forces in recent years.
Television images showed hundreds of people helping the injured into ambulances in the aftermath.
At least 58 people were wounded, Rasheed said, warning the toll could rise as many of the injuries were serious.
Militant attacks have surged since 2022 when a ceasefire broke down between the government and the Tehreek-e-Taliban Pakistan (TTP), an umbrella body of hardline Sunni Islamist groups.
The TTP, responsible for some of the bloodiest attacks in Pakistan since its formation in 2007, denied responsibility for Friday's blasts.
In July, more than 40 people were killed in a suicide bombing at a religious political party's gathering in Khyber Pakhtunkhwa.