Sahih al-Bukhari #3304
Beginning of Creation 59:112
Narrated Jabir bin `Abdullah:
Allah's Messenger (ﷺ) said, "When night falls (or it is evening), keep your children close to you for the devils spread out at that time. But when an hour of the night elapses, you can let them free. Close the doors and mention the Name of Allah, for Satan does not open a closed door."