Sahih al-Bukhari 6293
Sahih al-Bukhari · Book 79: Asking Permission · Fire should not be kept lit at bedtime.
Narrated Salim's father:
حَدَّثَنَا أَبُو نُعَيْمٍ ، حَدَّثَنَا ابْنُ عُيَيْنَةَ ، عَنِ الزُّهْرِيِّ ، عَنْ سَالِمٍ ، عَنْ أَبِيهِ ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ { لاَ تَتْرُكُوا النَّارَ فِي بُيُوتِكُمْ حِينَ تَنَامُونَ}.
The Prophet (ﷺ) said, "Do not keep the fire burning in your houses when you go to bed."