[Machine] The Messenger of Allah ﷺ went out to the trench, and while he was there, a young man from the Ansar came to him, requesting permission to speak with his family about a marriage contract. The Messenger of Allah ﷺ granted him permission. The young man approached his wife, who was positioned between two doorways. He leaned towards her with his spear, intending to stab her, but she said, "Do not rush, wait until you enter and look." He entered and found a coiled snake on their bed. When he saw it, he directed his spear at it, and the snake writhed on the spear until it died. The young man fell dead. This was reported to the Messenger of Allah ﷺ , who said, "Indeed, among the jinn in Madinah, there are those who have embraced Islam. If you see anything from them, give them three days of respite. If you find them to be a danger, then kill them, for they are demons."
أَنَّ رَسُولَ اللهِ ﷺ خَرَجَ إِلَى الْخَنْدَقِ فَبَيْنَمَا هُوَ بِهِ إِذْ جَاءَ فَتًى مِنَ الْأَنْصَارِ حَدِيثُ عَهْدٍ بِعُرْسٍ فَقَالَ يَا رَسُولَ اللهِ ائْذَنْ لِي أُحْدِثْ بِأَهْلِي عَهْدًا فَأَذِنَ لَهُ رَسُولُ اللهِ ﷺ فَأَقْبَلَ الْفَتَى فَإِذَا هُوَ بِامْرَأَتِهِ بَيْنَ الْبَابَيْنِ فَأَهْوَى إِلَيْهَا بِالرُّمْحِ لِيَطْعَنَهَا فَقَالَتْ لَا تَعْجَلْ حَتَّى تَدْخُلَ وَتَنْظُرَ فَدَخَلَ فَإِذَا هُوَ بِحَيَّةٍ مُنْطَوِيَةٍ عَلَى فِرَاشِهِ فَلَمَّا رَآهَا رَكَزَ فِيهَا رُمْحَهُ ثُمَّ نَصَبَهُ قَالَ أَبُو سَعِيدٍ فَاضْطَرَبَتِ الْحَيَّةُ فِي رَأْسِ الرُّمْحِ حَتَّى مَاتَتْ وَخَرَّ الْفَتَى مَيِّتًا فَبَلَغَ ذَلِكَ رَسُولَ اللهِ ﷺ فَقَالَ «إِنَّ بِالْمَدِينَةِ جِنًّا قَدْ أَسْلَمُوا فَإِذَا رَأَيْتُمْ مِنْهُمْ شَيْئًا فَآذِنُوهُ ثَلَاثَةَ أَيَّامٍ فَإِنْ بَدَا لَكُمْ فَاقْتُلُوهُ فَإِنَّمَا هُوَ شَيْطَانٌ»