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:3664a

Shut your door and make mention of Allah's name, for the devil does not open a door which has been shut; extinguish your lamp and make mention of Allah's name, cover up your vessel even by a piece of wood that you just put on it and make mention of Allah's name, and tie up your water-skin mentioning Allah's name. (Using translation from Abū Dāʾūd 3731)   

السيوطي:٣٦٦٤a

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

[حب] ابن حبّان عن جابر

See similar narrations below:

Collected by Bukhārī, Abū Dāwūd, Aḥmad, Ibn Ḥibbān
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.).  

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

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

abudawud:3731Aḥmad b. Ḥanbal > Yaḥyá > Ibn Jurayj > ʿAṭāʾ > Jābir

Shut your door and make mention of Allah's name, for the devil does not open a door which has been shut; extinguish your lamp and make mention of Allah's name, cover up your vessel even by a piece of wood that you just put on it and make mention of Allah's name, and tie up your water-skin mentioning Allah's name.  

أبو داود:٣٧٣١حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ حَدَّثَنَا يَحْيَى عَنِ ابْنِ جُرَيْجٍ أَخْبَرَنِي عَطَاءٌ عَنْ جَابِرٍ

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

ahmad:14434Yaḥyá > Ibn Jurayj > ʿAṭāʾ > Jābir

Shut your door and make mention of Allah's name, for the devil does not open a door which has been shut; extinguish your lamp and make mention of Allah's name, cover up your vessel even by a piece of wood that you just put on it and make mention of Allah's name, and tie up your water-skin mentioning Allah's name. (Using translation from Abū Dāʾūd 3731)  

أحمد:١٤٤٣٤حَدَّثَنَا يَحْيَى عَنِ ابْنِ جُرَيْجٍ حَدَّثَنَا عَطَاءٌ عَنْ جَابِرٍ

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

ذِكْرُ الْبَيَانِ بِأَنَّ الْأَمْرَ بِهَذِهِ الْأَشْيَاءِ إِنَّمَا أَمْرٌ مَعَ التَّسْمِيَةِ

ibnhibban:1272ʿUmar b. Muḥammad al-Hamdānī > ʿAmr b. ʿAlī > Yaḥyá al-Qaṭṭān > Ibn Jurayj > ʿAṭāʾ > Jābir b. ʿAbdullāh

Shut your door and make mention of Allah's name, for the devil does not open a door which has been shut; extinguish your lamp and make mention of Allah's name, cover up your vessel even by a piece of wood that you just put on it and make mention of Allah's name, and tie up your water-skin mentioning Allah's name. (Using translation from Abū Dāʾūd 3731)   

ابن حبّان:١٢٧٢أَخْبَرَنَا عُمَرُ بْنُ مُحَمَّدٍ الْهَمْدَانِيُّ قَالَ حَدَّثَنَا عَمْرُو بْنُ عَلِيٍّ قَالَ حَدَّثَنَا يَحْيَى الْقَطَّانُ عَنِ ابْنِ جُرَيْجٍ قَالَ أَخْبَرَنِي عَطَاءٌ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ

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