The Prophet ﷺ said, "When night begins to fall, or he said, when night descends, keep your children indoors, for the devils spread out at that time. Once a portion of the evening has passed, you may let them go. Then shut your door and mention the name of Allah, put out your lamp and mention the name of Allah, fasten your waterskin and mention the name of Allah, and cover your vessel and mention the name of Allah, even if only by placing something across it."
حدثنا يحيى بن جعفر حدثنا محمد بن عبد الله الأنصاري حدثنا ابن جريج قال أخبرني عطاء
عن النبي ﷺ قال إذا استجنح الليل أو قال جنح الليل فكفوا صبيانكم فإن الشياطين تنتشر حينئذ فإذا ذهب ساعة من العشاء فخلوهم وأغلق بابك واذكر اسم الله وأطفئ مصباحك واذكر اسم الله وأوك سقاءك واذكر اسم الله وخمر إناءك واذكر اسم الله ولو تعرض عليه شيئا