(12) باب الأَمْرِ بِتَغْطِيَةِ الإِنَاءِ وَإِيكَاءِ السِّقَاءِ وَإِغْلاَقِ الأَبْوَابِ وَذِكْرِ اسْمِ اللَّهِ عَلَيْهَا وَإِطْفَاءِ السِّرَاجِ وَالنَّارِ عِنْدَ النَّوْمِ وَكَفِّ الصِّبْيَانِ وَالْمَوَاشِي بَعْدَ الْمَغْرِبِ
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.
Reference: Sahih Muslim 2015
In-book reference: Book 36, Hadith 131
USC-MSA web (English) reference(deprecated numbering scheme): Book 23, Hadith 5002
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.