Sahih Muslim, Book 36, Hadith 131 (Muslim 5211)

Salim, on the authority of his father, reported Allah's Messenger (ﷺ) having said:

Do not leave the fire burning in your houses when you go to sleep.