Kill snakes, kill those which have two streaks and those with small tails, for they obliterate the eyesight and cause miscarriage. Salim said: ‘Abd Allah(b. ‘Umar) used to kill every snake which he found. Abu Lubabah or Zaid b. al-Khattab saw him chasing a snake. He said: He(the Prophet) prohibited house-snakes. (Using translation from Abū Dāʾūd 5252)
قَالَ رَسُولُ اللهِ ﷺ اقْتُلُوا الْحَيَّاتِ وَذَا الطُّفْيَتَيْنِ وَالْأَبْتَرَ فَإِنَّهُمَا يَلْتَمِسَانِ الْبَصَرَ وَيَسْتَسْقِطَانِ الْحَبَلَ وَكَانَ ابْنُ عُمَرَ يَقْتُلُ كُلَّ حَيَّةٍ وَجَدَهَا فَرَآهُ أَبُو لُبَابَةَ أَوْ زَيْدُ بْنُ الْخَطَّابِ وَهُوَ يُطَارِدُ حَيَّةً فَقَالَ إِنَّهُ قَدْ نُهِيَ عَنْ ذَوَاتِ الْبُيُوتِ