The local police and railway police along with some civil persons immediately extinguished the fire and the person was rushed to hospital.