From Sahih Muslim (Hadith 2871):
Zaid b. Jubair reported:A person asked Ibn 'Umar which beast a Muhrim could kill, whereupon he said: One of the wives of Allahs Apostle (ﷺ) told me: He (the Holy Prophet) commanded to kill voracious dog, rat, scorpion, kite, crow, and snake (and this is allowed) likewise in prayer
Reference: Muslim 2871