Abdullah bin Umar reported,

While I was chasing a snake to kill it, Abu Lubabah called out to me, "Do not kill it."I said, "The Messenger of Allah ﷺ commanded that snakes be killed."He replied, "He later forbade killing the ones that dwell in houses, which are the Awwamir."

Bukhari 3298

Sahih

قال

عبد الله

فبينا أنا أطارد حية لأقتلها فناداني أبو لبابة لا تقتلها فقلت إن رسول الله ﷺ قد أمر بقتل الحيات قال إنه نهى بعد ذلك عن ذوات البيوت وهي العوامر

البخاري 3298صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Beginning of creation
Chapter
Allah's saying, "And He dispersed therein every kind of creature"
Numbering
Darussalam 3298
Bukhari 3298