from Nafiʿ, from Abd Allah ibn Umar—may Allah be pleased with him—that the Prophet—peace and blessings be upon him—said: “There are five creatures for whose killing a person in the state of ihram incurs no blame: the crow, the kite, the scorpion, the mouse, and the vicious dog.” (1)
It is also related from Abu Saʿid al-Khudri—may Allah be pleased with him—that the Messenger of Allah—peace and blessings be upon him—said: “A person in the state of ihram may kill an attacking beast of prey.” (2) And from Abu Hurayrah: the Messenger of Allah—peace and blessings be upon him—said: “Five creatures may lawfully be killed within the Sacred Precinct: the snake, the scorpion, the kite, the mouse, and the vicious dog.” (3)
Sufyan ibn Uyaynah said: “The vicious dog is every beast of prey that mauls.” Malik held the same view. The proponents of legal reasoning maintained that compensation is due for killing animals whose meat is unlawful to eat, such as the leopard, tiger, pig, and the like, except for those specific creatures mentioned in the report. They extended the ruling by analogy to the wolf and therefore did not require expiation for killing it.
Al-Shafiʿi—may Allah have mercy on him—extended this ruling by analogy to every animal whose meat is unlawful to eat, because the hadith includes particular creatures: some are ferocious beasts of prey, some are deadly vermin, and some are birds that do not fall under the category of beasts of prey or that of vermin. (4) Rather, they are animals whose flesh is deemed foul; and the prohibition of eating applies to them all. Thus, he treated this as the determining factor and based the ruling upon it.