ISLAMABAD, Pakistan — A powerful bomb blast ripped through a Sufi shrine in southwestern Pakistan on Saturday evening, killing at least 52 people and wounding at least 100 others, officials said.

The bombing, believed to have been carried out by a suicide attacker, occurred in the Khuzdar district of the restive province of Baluchistan. Hundreds of worshipers were inside the shrine of the Sufi saint Shah Bilal Noorani, and dozens were performing a devotional “dhamal” dance when the bomber struck.

“Every day, around sunset, there is a dhamal here, and there are large numbers of people who come for this,” Nawaz Ali, the shrine’s custodian, was quoted as saying by local news media outlets.

The Taliban and other extremist Sunni groups have attacked Sufi shrines and gatherings in recent years. The Sufi tradition offers a tolerant version of Islam that is spurned by extremists like the Taliban.