(37) باب قَتْلِ الْحَيَّاتِ وَغَيْرِهَا
Nafi' reported that Abu Lubaba b. 'Abd al-Mundhir al-Ansari (first) lived in Quba. He then shifted to Medina and as he was in the company of 'Abdullah b. 'Umar opening a window for him, he suddenly saw a snake in the house. They (the inmates of the house) attempted to kill that. Thereupon Abu Lubaba said:
They had been forbidden to make an attempt to kill house snakes and they had been commanded to kill the snakes having small tails, small snakes and those having streaks over them, and it was said: Both of them affect the eyes and cause miscarriage to women.
Reference: Sahih Muslim 2233 h
In-book reference: Book 39, Hadith 183
USC-MSA web (English) reference(deprecated numbering scheme): Book 26, Hadith 5550