Sahih Bukhari Volume 008, Book 074, Hadith Number 309.

Narated By Abu Musa : One night a house in Medina was burnt with its occupants. The Prophet spoke about them, saying, "This fire is indeed your enemy, so whenever you go to bed, put it out to protect yourselves."