The incident took place in Hata Hazrat Sahab area of Kakori town in Lucknow, the capital city of Uttar Pradesh.
It took several hours for the firefighters to douse the blaze and prevent it from spreading in the neighborhood, according to the police.
Police have registered a case and ordered an investigation into the incident.