Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:2474a

Messenger of Allah ﷺ said, "When night falls (or when it is evening), stop your children from going out, for the devils spread out at that time. But when an hour of the night has passed, release them and close the doors and mention Allah's Name, for Satan does not open a closed door. Tie the mouth of your waterskin and mention Allah's Name; cover your containers and utensils and mention Allah's Name. Cover them even by placing something across it, and extinguish your lamps. " (Using translation from Bukhārī 5623)   

السيوطي:٢٤٧٤a

"إذا كانَ جُنْحُ اللَّيلِ أَوْ أَمْسْيتم فكُفُّوا صبيانَكم؛ فإِنّ الشياطِينَ تنتَشرُ حينئذٍ، فإِذا ذهبتْ ساعةٌ من الليلِ فخلوهُمْ، وأغلقُوا الأبوابَ، واذكروا اسم الله؛ فإن الشيطانَ لا يفْتح بابا مُغلقًا، وأوْكوا قِرَبَكم، واذكرُوا اسمَ الله، وخَمِّروا آنيتكُم، واذكروا اسْمَ الله ولوْ أنْ تعْرِضوا عليها شيئًا، وأطفئُوا مصابيِحَكُم" .  

[حم] أحمد [خ] البخاري [م] مسلم [د] أبو داود [هـ] ابن ماجة وابن خزيمة، [حب] ابن حبّان عن جابر

See similar narrations below:

Collected by Bukhārī, Muslim, Nasāʾī's Kubrá
bukhari:3280Yaḥyá b. Jaʿfar > Muḥammad b. ʿAbdullāh al-Anṣārī > Ibn Jurayj > ʿAṭāʾ > Jābir

The Prophet ﷺ said, "When nightfalls, then keep your children close to you, for the devil spread out then. An hour later you can let them free; and close the gates of your house (at night), and mention Allah's Name thereupon, and cover your utensils, and mention Allah's Name thereupon, (and if you don't have something to cover your utensil) you may put across it something (e.g. a piece of wood etc.).  

البخاري:٣٢٨٠حَدَّثَنَا يَحْيَى بْنُ جَعْفَرٍ حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ الأَنْصَارِيُّ حَدَّثَنَا ابْنُ جُرَيْجٍ قَالَ أَخْبَرَنِي عَطَاءٌ عَنْ جَابِرٍ ؓ

عَنِ النَّبِيِّ ﷺ قَالَ إِذَا اسْتَجْنَحَ {اللَّيْلُ} أَوْ كَانَ جُنْحُ اللَّيْلِ فَكُفُّوا صِبْيَانَكُمْ فَإِنَّ الشَّيَاطِينَ تَنْتَشِرُ حِينَئِذٍ فَإِذَا ذَهَبَ سَاعَةٌ مِنَ الْعِشَاءِ فَحُلُّوهُمْ وَأَغْلِقْ بَابَكَ وَاذْكُرِ اسْمَ اللَّهِ وَأَطْفِئْ مِصْبَاحَكَ وَاذْكُرِ اسْمَ اللَّهِ وَأَوْكِ سِقَاءَكَ وَاذْكُرِ اسْمَ اللَّهِ وَخَمِّرْ إِنَاءَكَ وَاذْكُرِ اسْمَ اللَّهِ وَلَوْ تَعْرُضُ عَلَيْهِ شَيْئًا  

bukhari:3304Isḥāq > Rawḥ > Ibn Jurayj > ʿAṭāʾ > Jābir b. ʿAbdullāh

Messenger of Allah ﷺ 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."  

البخاري:٣٣٠٤حَدَّثَنَا إِسْحَاقُ أَخْبَرَنَا رَوْحٌ أَخْبَرَنَا ابْنُ جُرَيْجٍ قَالَ أَخْبَرَنِي عَطَاءٌ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ ؓ

قَالَ رَسُولُ اللَّهِ ﷺ إِذَا كَانَ جُنْحُ اللَّيْلِ أَوْ أَمْسَيْتُمْ فَكُفُّوا صِبْيَانَكُمْ فَإِنَّ الشَّيَاطِينَ تَنْتَشِرُ حِينَئِذٍ فَإِذَا ذَهَبَ سَاعَةٌ مِنَ اللَّيْلِ فَحُلُّوهُمْ وَأَغْلِقُوا الأَبْوَابَ وَاذْكُرُوا اسْمَ اللَّهِ فَإِنَّ الشَّيْطَانَ لاَ يَفْتَحُ بَابًا مُغْلَقًا قَالَ وَأَخْبَرَنِي عَمْرُو بْنُ دِينَارٍ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ نَحْوَ مَا أَخْبَرَنِي عَطَاءٌ وَلَمْ يَذْكُرْ وَاذْكُرُوا اسْمَ اللَّهِ  

bukhari:5623Isḥāq b. Manṣūr > Rawḥ b. ʿUbādah > Ibn Jurayj > ʿAṭāʾ > Jābir b. ʿAbdullāh

Messenger of Allah ﷺ said, "When night falls (or when it is evening), stop your children from going out, for the devils spread out at that time. But when an hour of the night has passed, release them and close the doors and mention Allah's Name, for Satan does not open a closed door. Tie the mouth of your waterskin and mention Allah's Name; cover your containers and utensils and mention Allah's Name. Cover them even by placing something across it, and extinguish your lamps. "  

البخاري:٥٦٢٣حَدَّثَنَا إِسْحَاقُ بْنُ مَنْصُورٍ أَخْبَرَنَا رَوْحُ بْنُ عُبَادَةَ أَخْبَرَنَا ابْنُ جُرَيْجٍ قَالَ أَخْبَرَنِي عَطَاءٌ أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ ؓ يَقُولُ

قَالَ رَسُولُ اللَّهِ ﷺ إِذَا كَانَ جُنْحُ اللَّيْلِ أَوْ أَمْسَيْتُمْ فَكُفُّوا صِبْيَانَكُمْ فَإِنَّ الشَّيَاطِينَ تَنْتَشِرُ حِينَئِذٍ فَإِذَا ذَهَبَ سَاعَةٌ مِنَ اللَّيْلِ فَحُلُّوهُمْ فَأَغْلِقُوا الأَبْوَابَ وَاذْكُرُوا اسْمَ اللَّهِ فَإِنَّ الشَّيْطَانَ لاَ يَفْتَحُ بَابًا مُغْلَقًا وَأَوْكُوا قِرَبَكُمْ وَاذْكُرُوا اسْمَ اللَّهِ وَخَمِّرُوا آنِيَتَكُمْ وَاذْكُرُوا اسْمَ اللَّهِ وَلَوْ أَنْ تَعْرُضُوا عَلَيْهَا شَيْئًا وَأَطْفِئُوا مَصَابِيحَكُمْ  

muslim:2012eIsḥāq b. Manṣūr > Rawḥ b. ʿUbādah > Ibn Jurayj > ʿAṭāʾ > Jābir b. ʿAbdullāh

When the wings of the night (spread) or it is night, restrain your children (from going out), for the Satan is abroad at that time, and when a part of the night is passed, free them and shut the doors. making mention of God's name, for the Satan does not open a closed door; and tighten the (mouths of waterskins and mention the name of Allah, cover your utensils and mention the name of Allah even though you should just put something on them, and extinguish your lamps.  

مسلم:٢٠١٢eوَحَدَّثَنِي إِسْحَاقُ بْنُ مَنْصُورٍ أَخْبَرَنَا رَوْحُ بْنُ عُبَادَةَ حَدَّثَنَا ابْنُ جُرَيْجٍ أَخْبَرَنَا عَطَاءٌ أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ يَقُولُ

قَالَ رَسُولُ اللَّهِ ﷺ إِذَا كَانَ جُنْحُ اللَّيْلِ أَوْ أَمْسَيْتُمْ فَكُفُّوا صِبْيَانَكُمْ فَإِنَّ الشَّيْطَانَ يَنْتَشِرُ حِينَئِذٍ فَإِذَا ذَهَبَ سَاعَةٌ مِنَ اللَّيْلِ فَخَلُّوهُمْ وَأَغْلِقُوا الأَبْوَابَ وَاذْكُرُوا اسْمَ اللَّهِ فَإِنَّ الشَّيْطَانَ لاَ يَفْتَحُ بَابًا مُغْلَقًا وَأَوْكُوا قِرَبَكُمْ وَاذْكُرُوا اسْمَ اللَّهِ وَخَمِّرُوا آنِيَتَكُمْ وَاذْكُرُوا اسْمَ اللَّهِ وَلَوْ أَنْ تَعْرُضُوا عَلَيْهَا شَيْئًا وَأَطْفِئُوا مَصَابِيحَكُمْ  

nasai-kubra:10514Aḥmad b. ʿUthmān > Abū ʿĀṣim > Ibn Jurayj > ʿAṭāʾ > Jābir

[Machine] The Messenger of Allah ﷺ said, "Close your doors and mention the name of Allah, for surely Satan does not open a closed door. Keep your close ones close and mention the name of Allah. Cover your utensils and mention the name of Allah, even if you just put something on them. And extinguish the lamps." Ibn Juraij said, "Amro bin Dinar informed me that he heard Jabir say something similar to what Ata informed me, but he did not say 'mention the name of Allah.'"  

الكبرى للنسائي:١٠٥١٤أَخْبَرَنَا أَحْمَدُ بْنُ عُثْمَانَ قَالَ حَدَّثَنَا أَبُو عَاصِمٍ قَالَ حَدَّثَنَا ابْنُ جُرَيْجٍ قَالَ أَخْبَرَنِي عَطَاءٌ أَنَّهُ سَمِعَ جَابِرًا يَقُولُ

قَالَ رَسُولُ اللهِ ﷺ «أَغْلِقُوا أَبْوَابَكُمْ وَاذْكُرُوا اسْمَ اللهِ فَإِنَّ الشَّيْطَانَ لَا يَفْتَحُ مُغْلَقًا وَأَوْكُوا قِرَبَكُمْ وَاذْكُرُوا اسْمَ اللهِ وَخَمِّرُوا آنِيَتَكُمْ وَاذْكُرُوا اسْمَ اللهِ وَلَوْ أَنْ تَعْرِضُوا عَلَيْهَا شَيْئًا وَأَطْفِئُوا الْمَصَابِيحَ» [275] قَالَ ابْنُ جُرَيْجٍ وَأَخْبَرَنِي عَمْرُو بْنُ دِينَارٍ أَنَّهُ سَمِعَ جَابِرًا يُخْبِرُ نَحْوَ مَا أَخْبَرَنِي عَطَاءٌ غَيْرَ أَنَّهُ لَا يَقُولُ «اذْكُرُوا اسْمَ اللهِ»