Narrated Ibn ‘Umar reported the Prophet as saying, “There are five creatures which it is not a sin for anyone to kill in the sacred territory and when in the sacred state:
the rat, the crow, the kite, the scorpion and the biting dog."
Abu Qatada said that he went out with God’s messenger and stayed behind with some of his companions who were in the sacred state, although he was not. They saw a wild ass before Abu Qatada saw it, and when they saw it they ignored it; but when he saw it he mounted a horse of his and asked them to hand him his whip. When they refused, he took it, chased the wild ass and killed it. Both he and they ate it, but afterwards they repented, so when they caught up on God's messenger they asked him about it. He asked if they had any of it with them, and when they told him they had a leg, the Prophet took it and ate it.
Bukhari and Muslim. In a version by both of them it says that when they came to God’s messenger he asked whether any of them had ordered or suggested to him that he should chase it, and when they replied that they had not, he told them to eat the flesh that remained.
As-Sa'b b. Jaththama said that he presented to God’s messenger a wild ass when he was at al-Abwa’ or Waddan (A village not far from al-Abwa’) and that he rejected it, but when he saw how he looked he said, "I rejected it only because I am in the sacred state."