The Messenger of Allah ﷺ said, "Five creatures may lawfully be killed within the sacred precincts, the snake, the scorpion, the kite, the mouse, and the rabid dog."
أن رسول الله ﷺ قال: خمس قتلهن حلال في الحرم: الحية، والعقرب، والحدأة، والفارة، والكلب العقور.
Reported by Abu Dawud (1847) from Ali bin Bahr, who said, Hatim bin Ismail narrated to us, Muhammad bin Ajlan narrated to me, from Qaqa bin Hakeem, from Abu Salih, from Abu Hurairah, and he related the hadith. Its chain is hasan because of Muhammad bin Ajlan, for he is one whose hadith is hasan.On this topic there is also what has been reported from Abu Saeed Khudri, that the Prophet ﷺ was asked what a person in the state of ihram may kill. He said, "The snake, the scorpion, the mouse, and the crow may be thrown at but not killed, as well as the vicious dog, the kite, and any predatory beast." Reported by Abu Dawud (1848) from Imam Ahmad, and it is in his Musnad (10990), and by Tirmidhi (838), and by Ibn Majah (3089), all of them through the hadith of Yazid bin Abu Ziyad, from Abdul-Rahman bin Abu Naeem Bajali, from Abu Saeed, who related it. The wording given here is that of Abu Dawud. Its chain is daif because of Yazid bin Abu Ziyad, who is the Hashimi Qurashi client, most scholars agreeing on judging him daif. Nevertheless Tirmidhi said, "This is a hasan hadith." I say, in this hadith there is an objectionable wording, namely his statement, "the crow may be thrown at but not killed," for as far as I know no one else corroborated him on this.Imam Ahmad (11755) also reported it through another route from Yazid bin Abu Ziyad, adding in it, "And what is the matter with the mouse? He said, the Prophet woke up to find that it had taken the wick and climbed up with it to the ceiling to burn it down over him." And in Adab al-Mufrad by Bukhari (1223), "The Prophet woke up one night to find a mouse had taken the wick and climbed up with it to the ceiling to burn the house down over them, so the Prophet cursed it and permitted its killing for a person in the state of ihram."On this topic there is also what has been reported from Ibn Abbas, from the Prophet ﷺ, who said, "Five are all vicious, to be killed by a person in the state of ihram, and they may be killed within the sacred precinct too, the mouse, the scorpion, the snake, the vicious dog, and the crow." Reported by Imam Ahmad (2330), and Bazzar in Kashf Astar (1097), and Abu Yaala (2428, 2693), all of them through the route of Layth, from Tawus, from Ibn Abbas, who related it. Layth is Ibn Abu Salim, and scholars are unanimous in judging him daif, because his memory became confused later in life, and his hadiths from that period could not be distinguished from the rest, so his hadith was abandoned.On this topic there is also what has been reported from Abu Rafi, who said, "While the Messenger of Allah was in his prayer, he struck at something during his prayer, and it turned out to be a scorpion, which he struck and killed, and he ordered the killing of the scorpion, the snake, the mouse, and the kite for a person in the state of ihram." Reported by Bazzar in Kashf Astar (1096), from Ghassan bin Abdullah, who said, Yusuf bin Nafi narrated to us, who said, Abdul-Rahman bin Abu Mawal narrated to us, from Ubaydullah bin Abu Rafi, from his father, who related it. In this chain is Yusuf bin Nafi, whom no one deemed reliable except Ibn Hibban, so he stands at the rank of "acceptable" according to Ibn Hajar, meaning he is not accepted without corroboration, otherwise his hadith is considered weak. Haythami mentioned it in Majma (3/229) and said, "Bazzar reported it, and in it is Yusuf bin Nafi, whom Ibn Abu Hatim mentioned without criticizing him, though he did not deem him reliable either, and Ibn Hibban mentioned him in Thiqat." End of quote.Scholars differed over the underlying reason for permitting the killing of these creatures. Shafii said the reason is that their meat is not eaten, and likewise anything whose meat is not eaten may be killed. Malik said the reason is that they are harmful, and the vicious dog refers to anything that attacks and preys upon people, such as the lion, the tiger, the leopard, and the wolf, all of which are considered vicious predators.