Up to 100 homes were evacuated after an explosion at an industrial building in the Radcliffe area of Greater Manchester, the BBC reported.
An explosion was heard when a gas main ignited in a fire in Schofield Street on Thursday night.
Fire crews worked with National Grid to safely isolate the gas pipe.
Greater Manchester Fire and Rescue Service said at its height, 60 firefighters were at the disused building tackling the fire.
At 08:00 BST, about 30 people were waiting to be allowed to return to their homes.
Ten fire engines were sent to the scene after Greater Manchester fire service was called at 21:46 BST on Thursday.
The fire was in a building measuring approximately 120 m (394 ft) by 80 m (262 ft) and was brought under control in the early hours of Friday.
A number of gas cylinders were removed from the site by fire crews.