(37) باب قَتْلِ الْحَيَّاتِ وَغَيْرِهَا
Nafi' reported on the authority of his father that as 'Abdullah b. 'Umar saw one day (standing) near the ruin (of his house) the slough of a snake and said (to the people around him):
Pursue this snake and kill it. Abu Lubaba Ansari said: I heard Allah's Messenger (ﷺ). He forbade the killing of snakes found in the houses except the short-tailed snakes and those having streaks upon them, for both of them obliterate eyesight and affect that which is in the wombs of (pregnant) women.
Reference: Sahih Muslim 2233 i
In-book reference: Book 39, Hadith 184
USC-MSA web (English) reference(deprecated numbering scheme): Book 26, Hadith 5551