Nafi reported,

Abdullah bin Umar was one day at a building of his that was being demolished when he caught sight of a gleaming snake. He said, "Go after this snake and kill it."Abu Lubabah al-Ansari said, "I heard the Messenger of Allah ﷺ forbid the killing of the snakes that dwell in houses, except for the stub-tailed one and the one with two white streaks on its back, for those two are the ones that snatch away eyesight and cause miscarriages in the wombs of women."

Muslim 5833

Sahih

و حدثني إسحق بن منصور أخبرنا محمد بن جهضم حدثنا إسمعيل وهو عندنا ابن جعفر

عن عمر بن نافع عن أبيه قال

كان عبد الله بن عمر يوما عند هدم له فرأى وبيص جان فقال اتبعوا هذا الجان فاقتلوه قال أبو لبابة الأنصاري إني سمعت رسول الله ﷺ نهى عن قتل الجنان التي تكون في البيوت إلا الأبتر وذا الطفيتين فإنهما اللذان يخطفان البصر ويتتبعان ما في بطون النساء

مسلم 5833صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Peace
Chapter
Killing snakes and other creatures
Numbering
Darussalam 5833
Muslim 5833