Chapter: It is recommended to cover vessels, tie up waterskins, close doors and mention the name of Allah over them, extinguish lamps and fires when going to sleep, and keep children and animals in after maghrib
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.
Authentic