Al-Adab Al-Mufrad, Book 50, Hadith 1222 (In-Book)

Ibn 'Abbas said, "A mouse came and began to drag the wick. The slavegirl moved to stop it. The Prophet, may Allah bless him and grant him peace, said, 'Leave it.' The mouse brought the wick and put it on the mat where he was sitting. It burned a hole in it the size of a dirham. The Messenger of Allah, may Allah bless him and grant him peace, said, 'When you go to sleep, put out the lights. Shaytan guides things like this and then they burn you.'"

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

sunnah.com