(37) باب قَتْلِ الْحَيَّاتِ وَغَيْرِهَا
Nafi' reported that Ibn 'Urnar used to kill all types of snakes until Abu Lubaba b. 'Abd al-Mundhir Badri reported that Allah's Messenger (ﷺ) had forbidden the killing of the snakes of the houses, and so he abstained from it.
Reference: Sahih Muslim 2233 e
In-book reference: Book 39, Hadith 180
USC-MSA web (English) reference(deprecated numbering scheme): Book 26, Hadith 5547