It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both): "A man asked the Prophet (peace and blessings be upon him) about killing snakes, and he (peace and blessings be upon him) said: 'The nature of man and the snake is alike (in their effect on one another): if a man sees it, it frightens him, and if it bites him, it causes him severe pain. So kill them wherever you find them.'" Likewise it is narrated through another chain that the Messenger of Allah (peace and blessings be upon him) said: "Kill the snake and the scorpion, even if you are in the state of prayer." I (the author) say: In the latter part of the Book of Admonitions, within the long hadith of Sayyiduna Ibn Abbas (may Allah be pleased with them both), it will come that the Messenger of Allah (peace and blessings be upon him) said: "Kill the snake and the scorpion, even if you are in your prayer", after which the complete long hadith is mentioned there.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الأدب وغيره / 5402
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لانقطاعه بين شيبان وسعيد بن جبير، والمحفوظ بذكر جابر الجعفي بينهما وهو ضعيف
Hadith Takhrij«شيبان بن عبد الرحمن لم يدرك سعيد بن جبير، وقد رواه الطيالسي نفسه (5402/2) عن شيبان عن جابر عن سعيد؛ جابر بن يزيد الجعفي: ضعيف رافضي (التقريب، من الحفظ)» «أخرجه المستدرك على الصحيحين برقم: 7778، وأخرجه المعجم الكبير للطبراني برقم: 10781، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 12917»