Four fire engines were called to a fire at a shop on Hirst Gate in Rotherham at 11:20am today.
There had been a small explosion in the shop area which had caused the fire.
Two people were inside the shop at the time and three people were in the flat above it. All were outside when crews arrived at the scene.
It is believed that two people went to hospital.
Three fire engines remain at the scene damping down.
An investigation into the fire will take place once the fire is completely out.