Abu Saaib reported,

He entered upon Abu Saeed Khudri at his house and found him praying, so he sat down waiting for him to finish his prayer. He then heard a rustling among some palm branches in a corner of the house. He turned and saw a snake. He sprang up to kill it, but Abu Saeed gestured to him to sit down, so he sat.When Abu Saeed had finished his prayer, he pointed to a room in the house and said, "Do you see this room?"I said, "Yes."He said, "There was a young man of ours in it who had recently married. We went out with the Messenger of Allah ﷺ to the Trench, and this young man used to ask the Messenger of Allah ﷺ for permission at midday to return to his wife. One day he asked his permission, and the Messenger of Allah ﷺ said to him, 'Take your weapon with you, for I fear Qurayza may harm you.' So the man took his weapon and returned. He found his wife standing between the two doors, and he lowered his spear to stab her, for jealousy had seized him.She said to him, 'Hold back your spear and enter the house so you may see what made me come out.'He entered and found a huge snake coiled on the bedding. He thrust at it with his spear and ran it through. Then he came out and planted the spear in the courtyard, but the snake writhed upon it, and it is not known which of them died sooner, the snake or the young man."He said, "We came to the Messenger of Allah ﷺ and mentioned this to him and said, 'Pray to Allah to bring him back to life for us.'He said, 'Seek forgiveness for your companion.' Then he said, 'There are jinn in Madinah who have accepted Islam. If you see any of them, give it warning for three days. If it appears to you after that, then kill it, for it is only a devil.'"

Azami 8231

Sahih

عن أبي السائب

أنه دخل على أبي سعيد الخدري في بيته قال: فوجدته يصلي فجلست أنتظره حتى يقضي صلاته. فسمعت تحريكا في عراجين في ناحية البيت. فالتفت فإذا حية. فوثبت لأقتلها. فأشار إلي أن اجلس فجلست، فلما انصرف أشار إلى بيت في الدار فقال: أترى هذا البيت؟ فقلت: نعم قال: كان فيه فتى منا حديث عهد بعرس قال: فخرجنا مع رسول الله ﷺ إلى الخندق، فكان ذلك الفتى يستأذن رسول الله ﷺ بأنصاف النهار، فيرجع إلى أهله فاستأذنه يوما، فقال له رسول الله ﷺ: خذ عليك سلاحك فإني أخشى عليك قريظة، فأخذ الرجل سلاحه، ثم رجع فإذا امرأته بين البابين قائمة فأهوى إليها الرمح ليطعنها به، وأصابته غيرة فقالت له: اكفف عليك رمحك، وادخل البيت حتى تنظر ما الذي أخرجني؟ فدخل فإذا بحية عظيمة منطوية على الفراش فأهوى إليها بالرمح فانتظمها به. ثم خرج فركزه في الدار، فاضطربت عليه فما يدرى أيهما كان أسرع موتا الحية أم الفتى؟ قال: فجئنا إلى رسول الله ﷺ فذكرنا ذلك له وقلنا: ادع الله يحييه لنا فقال: استغفروا لصاحبكم ثم قال: إن بالمدينة جنا قد أسلموا، فإذا رأيتم منهم شيئا فآذنوه ثلاثة أيام، فإن بدا لكم بعد ذلك فاقتلوه فإنما هو شيطان.

الأعظمي 8231صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Beginning of creation
Section
Jinn include believers and disbelievers among them
Numbering
Jami al-Kamil 8231 (2nd edition)
Azami 8231