Sunan Abi Dawud, Hadith 5233

Abu Lubabah said: The Messenger of Allah prohibited killing the jinnan(small snakes) that are in the house, except the one which have two streaks and the one with small tail, for they obliterate the eyesight and cause miscarriage.

حَدَّثَنَا الْقَعْنَبِيُّ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنْ أَبِي لُبَابَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنْ قَتْلِ الْجِنَّانِ الَّتِي تَكُونُ فِي الْبُيُوتِ إِلاَّ أَنْ يَكُونَ ذَا الطُّفْيَتَيْنِ وَالأَبْتَرَ فَإِنَّهُمَا يَخْطِفَانِ الْبَصَرَ وَيَطْرَحَانِ مَا فِي بُطُونِ النِّسَاءِ ‏.‏

sunnah.com

also referenced under: Hadith 5253 (DarusSalam)