(15) باب خَيْرُ مَالِ الْمُسْلِمِ غَنَمٌ يَتْبَعُ بِهَا شَعَفَ الْجِبَالِ
Narrated Nafi`:
Ibn `Umar used to kill snakes but when Abu Lubaba informed him that the Prophet (ﷺ) had forbidden the killing of snakes living in houses, he gave up killing them.
Reference: Sahih al-Bukhari 3312, 3313
In-book reference: Book 59, Hadith 119
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 54, Hadith 530