Muwatta Malik, Book 49, Hadith 1694 (In-Book)

Yahya related to me from Malik from Abu'z-Zubayr al-Makki from Jabir ibn Abdullah that the Messenger of Allah, may Allah bless him and grant him peace, 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."

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

sunnah.com

also referenced under: Book 49, Hadith 21 (USC-MSA)