Sahih Bukhari · Hadith 4065
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) - كتاب المغازى
حدثنا أبو النعمان، حدثنا جرير بن حازم، عن نافع، أن ابن عمر رضى الله عنهما كان يقتل الحيات كلها. حتى حدثه أبو لبابة البدري، أن النبي صلى الله عليه وسلم نهى عن قتل جنان البيوت، فأمسك عنها.
Narrated Nafi`: Ibn `Umar used to kill all kinds of snakes until Abu Lubaba Al-Badri told him that the Prophet had forbidden the killing of harmless snakes living in houses and called Jinan. So Ibn `Umar gave up killing them.
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).