Sahih Bukhari | Volume 7 | Hadith Number 398

Narrated by Abu Qatada
That once he was with Allah's Apostle (on the way to Mecca). When he had covered some of the way to Mecca, he and some companions of his, who were in the state of Ihram. remained behind the Prophet while Abu Qatada himself was not in the state of Ihram. Abu Qatada, seeing an onager rode his horse and asked his companions to hand him a whip, but they refused. He then asked them to hand him his spear, but they refused. Then he took it himself and attacked the onager and killed it. Some of the Companions of Allah's Apostle ate of it, but some others refused to eat. When they met Allah's Apostle they asked him about that. He said, "It was meal given to you by Allah."