Language:
كتاب بدء الخلق
59  
Beginning of Creation
(16)
Chapter: Five kinds of animals are harmful and allowed to be killed in Haram
(16)
باب خَمْسٌ مِنَ الدَّوَابِّ فَوَاسِقُ يُقْتَلْنَ فِي الْحَرَمِ
Sahih al-Bukhari 3316

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) said, "Cover your utensils and tie your water skins, and close your doors and keep your children close to you at night, as the Jinns spread out at such time and snatch things away. When you go to bed, put out your lights, for the mischief-doer (i.e. the rat) may drag away the wick of the candle and burn the dwellers of the house." Ata said, "The devils." (instead of the Jinns).

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ كَثِيرٍ، عَنْ عَطَاءٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ رَفَعَهُ قَالَ ‏ "‏ خَمِّرُوا الآنِيَةَ، وَأَوْكُوا الأَسْقِيَةَ، وَأَجِيفُوا الأَبْوَابَ، وَاكْفِتُوا صِبْيَانَكُمْ عِنْدَ الْعِشَاءِ، فَإِنَّ لِلْجِنِّ انْتِشَارًا وَخَطْفَةً، وَأَطْفِئُوا الْمَصَابِيحَ عِنْدَ الرُّقَادِ، فَإِنَّ الْفُوَيْسِقَةَ رُبَّمَا اجْتَرَّتِ الْفَتِيلَةَ فَأَحْرَقَتْ أَهْلَ الْبَيْتِ ‏"‏‏.‏ قَالَ ابْنُ جُرَيْجٍ وَحَبِيبٌ عَنْ عَطَاءٍ فَإِنَّ لِلشَّيَاطِينِ‏.‏
Reference : Sahih al-Bukhari 3316
In-book reference : Book 59, Hadith 122
USC-MSA web (English) reference : Vol. 4, Book 54, Hadith 533
  (deprecated numbering scheme)