Mishkat al-Masabih #3951
mishkat_al_masabih:3951وَعَن ابْن عمر أَنَّهُ سَمِعَ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: " اقْتُلُوا الْحَيَّاتِ وَاقْتُلُوا ذَا الطُّفْيَتَيْنِ وَالْأَبْتَرَ فَإِنَّهُمَا يَطْمِسَانِ الْبَصَرَ وَيَسْتَسْقِطَانِ الْحَبَلَ قَالَ عَبْدُ اللَّهِ: فَبَيْنَا أَنَا أُطَارِدُ حَيَّةً أَقْتُلَهَا نَادَانِي أَبُو لُبَابَةَ: لَا تَقْتُلْهَا فَقُلْتُ: إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَمَرَ بِقَتْلِ الْحَيَّاتِ. فَقَالَ: إِنَّهُ نَهَى بَعْدَ ذَلِكَ عَنْ ذَوَات الْبيُوت وَهن العوامر
Ibn ‘Umar told of hearing the Prophet say, "Kill snakes, kill those which have two streaks and those with small tails, for they obliterate the eyesight and cause miscarriage." ‘Abdallah said that while he was chasing a snake and trying to kill it Abu Lubaba called to him not to kill it, but he replied that God's messenger had given command that snakes should be killed. He then said that he had later prohibited killing house-snakes, for they are resident jinn. (Bukhari and Muslim.)
محمد بن عبد الله