From Sahih Muslim (Hadith 2873):
Ibn Juraij reported:I said to Nafi: What is that which you heard Ibn, Umar declaring permissible for a Muhrim to kill some of the beasts? Nafi, said to me that 'Abdullah had reported: I heard Allah's Messenger (ﷺ) as saying: Five are the beasts in killing which or their being killed, there is no sin: crow, kite, scorpion, rat and voracious dog
Reference: Muslim 2873