(43) General Behavior (Kitab Al-Adab)
كتاب الأدب
(175) Chapter: Regarding killing snakes
(175) باب فِي قَتْلِ الْحَيَّاتِ
Sunan Abi Dawud 5252 

Ibn ‘Umar reported the Messenger of Allah(ﷺ) as saying:

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.

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ سَالِمٍ، عَنْ أَبِيهِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ اقْتُلُوا الْحَيَّاتِ وَذَا الطُّفْيَتَيْنِ وَالأَبْتَرَ فَإِنَّهُمَا يَلْتَمِسَانِ الْبَصَرَ وَيُسْقِطَانِ الْحَبَلَ ‏"‏ ‏.‏ قَالَ وَكَانَ عَبْدُ اللَّهِ يَقْتُلُ كُلَّ حَيَّةٍ وَجَدَهَا فَأَبْصَرَهُ أَبُو لُبَابَةَ أَوْ زَيْدُ بْنُ الْخَطَّابِ وَهُوَ يُطَارِدُ حَيَّةً فَقَالَ إِنَّهُ قَدْ نُهِيَ عَنْ ذَوَاتِ الْبُيُوتِ ‏.‏
Grade :  Sahih (Al-Albani) صحيح  (الألباني)حكم :
Reference : Sunan Abi Dawud 5252
In-book reference : Book 43, Hadith 480
English translation : Book 42, Hadith 5232