The Messenger of Allah ﷺ ordered the killing of the two black creatures during prayer, the snake and the scorpion.
حدثنا يحيى بن سعيد عن علي بن المبارك قال حدثني يحيى قال حدثني ضمضم
أن رسول الله ﷺ أمر بقتل الأسودين في الصلاة الحية والعقرب
Its isnad is sahih, it previously appeared at 7373, and the hadith is found in Tirmidhi 1/234 no. 390, Nasai, and Hakim 1/256, who graded it sahih, and Dhahabi agreed with him.