Abdullah bin Umar reported,

He heard the Prophet ﷺ delivering a sermon from the pulpit, saying, "Kill snakes, and kill the two-striped snake and the short-tailed snake, for they blot out eyesight and cause miscarriage."Abdullah said, "Once, 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 ﷺ ordered that snakes be killed."He replied, "He later forbade killing the snakes that dwell in houses, which are called the awamir."

Azami 14855

Sahih

عن ابن عمر

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

الأعظمي 14855صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Kindness to animals
Section
Killing snakes
Numbering
Jami al-Kamil 14855 (2nd edition)
Azami 14855