Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:2233d[Chain 1] Muḥammad b. Rumḥ > al-Layth [Chain 2] Qutaybah b. Saʿīd > Layth > Nāfiʿ

Find it out and kill it. Abu Lubaba said: Don't kill them, for Messenger of Allah ﷺ forbade the killing of the snakes found in houses.  

مسلم:٢٢٣٣dوَحَدَّثَنِي مُحَمَّدُ بْنُ رُمْحٍ أَخْبَرَنَا اللَّيْثُ ح وَحَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ وَاللَّفْظُ لَهُ حَدَّثَنَا لَيْثٌ عَنْ نَافِعٍ أَنَّ أَبَا لُبَابَةَ كَلَّمَ ابْنَ عُمَرَ لِيَفْتَحَ لَهُ بَابًا فِي دَارِهِ يَسْتَقْرِبُ بِهِ إِلَى الْمَسْجِدِ فَوَجَدَ الْغِلْمَةُ جِلْدَ جَانٍّ فَقَالَ عَبْدُ اللَّهِ الْتَمِسُوهُ فَاقْتُلُوهُ فَقَالَ

أَبُو لُبَابَةَ لاَ تَقْتُلُوهُ فَإِنَّ رَسُولَ اللَّهِ ﷺ نَهَى عَنْ قَتْلِ الْجِنَّانِ الَّتِي فِي الْبُيُوتِ  


See similar narrations below:

Collected by Mālik, Ṭabarānī
malik:54-31Mālik > Nāfiʿ > Abū Lubābah

Malik related to me from Nafi from Abu Lubaba that the Messenger of Allah ﷺ forbade killing snakes which were in the houses.  

مالك:٥٤-٣١حَدَّثَنِي مَالِكٌ عَنْ نَافِعٍ عَنْ أَبِي لُبَابَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ نَهَى عَنْ قَتْلِ الْحَيَّاتِ الَّتِي فِي الْبُيُوتِ  

tabarani:4501Muṭṭalib b. Shuʿayb al-Azdī > ʿAbdullāh b. Ṣāliḥ > al-Layth > Nāfiʿ > Ibn ʿUmar > Abū Lubābah

Nafi' reported that Ibn 'Urnar used to kill all types of snakes until Abu Lubaba b. 'Abd al-Mundhir Badri reported that Messenger of Allah ﷺ had forbidden the killing of the snakes of the houses, and so he abstained from it. (Using translation from Muslim 2233e)   

الطبراني:٤٥٠١حَدَّثَنَا مُطَّلِبُ بْنُ شُعَيْبٍ الْأَزْدِيُّ ثنا عَبْدُ اللهِ بْنُ صَالِحٍ حَدَّثَنِي اللَّيْثُ حَدَّثَنِي نَافِعٌ عَنِ ابْنِ عُمَرَ عَنْ أَبِي لُبَابَةَ

«أَنَّ رَسُولَ اللهِ ﷺ نَهَى عَنْ قَتْلِ الْجِنَّانِ الَّتِي فِي الْبُيُوتِ»  

tabarani:4503ʿUbayd b. Ghannām > Abū Bakr b. Abū Shaybah > ʿAbdullāh b. Numayr > ʿUbaydullāh b. ʿUmar > Nāfiʿ > Ibn ʿUmar > Abū Lubābah

[Machine] "The Messenger of Allah, ﷺ , forbade killing the jinn that are in houses."  

الطبراني:٤٥٠٣حَدَّثَنَا عُبَيْدُ بْنُ غَنَّامٍ ثنا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ثنا عَبْدُ اللهِ بْنُ نُمَيْرٍ عَنْ عُبَيْدِ اللهِ بْنِ عُمَرَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ عَنْ أَبِي لُبَابَةَ قَالَ

«نَهَى رَسُولُ اللهِ ﷺ عَنْ قَتْلِ الْجِنَّانِ الَّتِي فِي الْبُيُوتِ»