It is narrated from Sayyiduna Ibn Umar that I heard the Prophet (peace and blessings be upon him) say: "Kill every snake, especially the striped snake and the snake with a cut tail, because both of these cause miscarriage and loss of eyesight." Therefore, whenever I saw a snake, I would kill it. One day, Sayyiduna Abu Lubabah or Yazid bin Khattab saw me chasing a snake to kill it, and I told them that the Prophet (peace and blessings be upon him) had ordered their killing. So they said: "Afterwards, the Prophet (peace and blessings be upon him) forbade killing the snakes that live in houses."
Hadith Referenceمسند احمد / مسند المكيين / 15749
Hadith Gradingحکم دارالسلام:حديث صحيح، خ: 3297، م: 22330 (في سنده محمد بن إسحاق مدلس وقد عنعن، لكنه توبع)