12 killed in Bangladesh mosque gas explosion
Worshippers were at Friday evening prayers when the blast sent a ball of flames through the mosque in the central district of Narayanganj, emergency services said.
Investigators suspected a spark from an air conditioner - which came on after a power cut - set off the gas.
"Leaked gas entered the mosque," Narayanganj fire chief Abdullah Al Arefin told AFP.
"When they shut the windows and doors and switched on the air conditioners there was an electricity spark that led to the explosion inside the mosque."
Read more: After Beirut blast, mental health is Lebanon's next crisis
The 12 who died were among 37 taken to a specialist burns hospital in Dhaka in critical condition, said hospital spokesman Samanta Lal Sen.
He added that all had suffered 70 to 80 percent burns.
Police said at least 45 people were injured by the blast and that people had spoken of smelling a gas leak.
In Bangladesh, safety regulations are often flouted in construction. Hundreds are killed each year in fires in the nation of 168 million people.
In February last year, an inferno in Dhaka's old quarter killed 78 people. One month later, 25 people were killed when a blaze engulfed a Dhaka office block.