The Mother of the Believers, Sayyidah Aishah (may Allah be pleased with her), said that Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) came to the Messenger of Allah (peace and blessings be upon him) while he (peace and blessings be upon him) was praying. So he stood at his (peace and blessings be upon him) side and joined him (peace and blessings be upon him) in the prayer. Then a scorpion came until it reached the Messenger of Allah (peace and blessings be upon him); then it left him (peace and blessings be upon him) and went towards Sayyiduna Ali (may Allah be pleased with him), and he struck it with his sandal until he killed it, and the Messenger of Allah (peace and blessings be upon him) saw no harm in killing it.
Imam al-Tabarani (may Allah have mercy on him) said: "These two hadiths are narrated from Imam al-Awza'i (may Allah have mercy on him) only with this chain; Layth bin Sa'd (may Allah have mercy on him) is alone in narrating them both."
Hadith Referenceالمعجم الأوسط / باب الميم / 8653
Hadith Gradingمحدثین:إسناده ضعيف لضعف عبد الله بن صالح كاتب الليث
Hadith Takhrij«قال الهيثمي: في طريق الطبراني عبد الله بن صالح كاتب الليث قال عبد الملك بن شعيب بن الليث ثقة مأمون وضعفه الأئمة أحمد وغيره «مجمع الزوائد ومنبع الفوائد، ج 2، ص 84»» «أخرجه ابن ماجه فى «سننه» برقم: 1246، والبيهقي فى «السنن الكبرى» برقم: 3492، وأبو يعلى فى «مسنده» برقم: 4739، وابن حجر فى «المطالب العالية» برقم: 515، والطبراني فى «الأوسط» برقم: 7329»