Jabir bin Abdullah reported,

The Messenger of Allah ﷺ said, "Cover your vessels, tie up your water-skins, shut your doors, and put out your lamps, for Satan does not untie a water-skin, open a door, or uncover a vessel. If one of you finds nothing but a stick to lay across his vessel while mentioning the name of Allah, let him do so, for the little mischievous creature can set the household's house ablaze upon them."

Azami 14723

Sahih

عن جابر

عن رسول الله ﷺ أنه قال: غطوا الإناء، وأوكوا السقاء، وأغلقوا الباب، وأطفئوا السراج، فإن الشيطان لا يحل سقاء، ولا يفتح بابا، ولا يكشف إناء، فإن لم يجد أحدكم إلا أن يعرض على إنائه عودا، ويذكر اسم الله، فليفعل، فإن الفويسقة تضرم على أهل البيت بيتهم.

الأعظمي 14723صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of night and day
Section
Extinguishing fires and lamps in houses when sleeping
Numbering
Jami al-Kamil 14723 (2nd edition)
Azami 14723