[Machine] There was a young man from the Ansar who was newly married. He went out with the Prophet ﷺ on a military expedition. On his way back, he looked towards his house and saw a woman standing in the room. He pointed his spear towards her and asked her to let him in to see what was inside the house. When he entered, he found a snake coiled around his bed. He killed the snake with his spear, but as a result, both the snake and the man died. This incident was mentioned to the Prophet ﷺ , who said, "Verily, there are jinn in Madinah who have embraced Islam. Or he said, 'These houses have their inhabitants.' So, when you see anything from them, seek refuge in Allah from it. Then, if it returns, kill it."
أَنَّ فَتًى مِنَ الْأَنْصَارِ كَانَ حَدِيثَ عَهْدٍ بِعُرْسٍ فَخَرَجَ مَعَ النَّبِيِّ ﷺ فِي غَزَاةٍ فَرَجَعَ مِنَ الطَّرِيقِ يَنْظُرُ إِلَى أَهْلِهِ فَإِذَا هُوَ بِامْرَأَةٍ قَائِمَةٍ فِي الْحُجْرَةِ فَبَوَّأَ إِلَيْهَا الرُّمْحَ فَقَالَتِ ادْخُلِ انْظُرْ مَا فِي الْبَيْتِ فَدَخَلَ فَإِذَا هُوَ بِحَيَّةٍ مُتَطَوِّقَةٍ عَلَى فِرَاشِهِ فَانْتَظَمَهَا بِرُمْحِهِ ثُمَّ رَكَزَ الرُّمْحَ فِي الدَّارِ وانْتَفَضَتِ الْحَيَّةُ وانْتَفَضَ الرَّجُلُ فَمَاتَتِ الْحَيَّةُ وَمَاتَ الرَّجُلُ فَذُكِرَ ذَلِكَ لِلنَّبِيِّ ﷺ فَقَالَ إِنَّهُ نَزَلَ الْمَدِينَةَ جِنٌّ مُسْلِمُونَ أَوْ قَالَ لِهَذِهِ الْبُيُوتِ عَوَامِرُ فَإِذَا رَأَيْتُمْ مِنْهَا شَيْئًا فَتَعَوَّذُوا مِنْهُ فَإِنْ عَادَ فَاقْتُلُوهُ