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.
bayhaqi:1212Abū Muḥammad ʿAbdullāh b. Yūsuf Imlāʾ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Baḥr b. Naṣr b. Sābiq al-Khawlānī > Ibn Wahb > al-Layth b. Saʿd > Abū al-Zubayr > Jābir b. ʿAbdullāh

[Machine] "Indeed, the Messenger of Allah ﷺ said: Cover the container, plug the water container, close the doors, and extinguish the lamp, for indeed, the devil does not untie a knot, uncover a container, or open a door."  

البيهقي:١٢١٢حَدَّثَنَا أَبُو مُحَمَّدٍ عَبْدُ اللهِ بْنُ يُوسُفَ إِمْلَاءً ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا بَحْرُ بْنُ نَصْرِ بْنِ سَابِقٍ الْخَوْلَانِيُّ ثنا ابْنُ وَهْبٍ أَخْبَرَنِي اللَّيْثُ بْنُ سَعْدٍ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرِ بْنِ عَبْدِ اللهِ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ غَطُّوا الْإِنَاءَ وَأَوْكُوا السِّقَاءَ وَأَغْلِقُوا الْأَبْوَابَ وَأَطْفِئُوا السِّرَاجَ فَإِنَّ الشَّيْطَانَ لَا يَحِلُّ سِقَاءً وَلَا يَكْشِفُ إِنَاءً وَلَا يَفْتَحُ بَابًا  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ قُتَيْبَةَ وَغَيْرِهِ عَنِ اللَّيْثِ

See similar narrations below:

Collected by Mālik
malik:49-21Mālik > Abū al-Zubayr al-Makkī > Jābir b. ʿAbdullāh

Yahya related to me from Malik from Abu'z-Zubayr al-Makki from Jabir ibn Abdullah that the Messenger of Allah ﷺ said, "Lock the door, tie the waterskin, turn the vessel over or cover it, and put out the lamp. Shaytan does not open a locked door or untie a tied knot, or uncover a vessel. A mouse may set fire to people's houses about them."  

مالك:٤٩-٢١وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ أَبِي الزُّبَيْرِ الْمَكِّيِّ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ

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