Abu Qatada reported,

I set out with the Messenger of Allah ﷺ during the time of Hudaybiyah. His companions entered the state of ihram, but I did not. I saw a wild donkey, charged at it on my mount, and hunted it down. I then mentioned the matter to the Messenger of Allah ﷺ, explaining that I had not entered ihram and that I had hunted it for him. The Prophet ﷺ instructed his companions to eat from it, but he himself did not eat any of it once I told him that I had hunted it for his sake.

Ibn Majah 3093

Sahih

حدثنا محمد بن يحيى حدثنا عبد الرزاق أنبأنا معمر عن يحيى بن أبي كثير

عن عبد الله بن أبي قتادة عن أبيه قال

خرجت مع رسول الله ﷺ زمن الحديبية فأحرم أصحابه ولم أحرم فرأيت حمارا فحملت عليه واصطدته فذكرت شأنه لرسول الله ﷺ وذكرت أني لم أكن أحرمت وأني إنما اصطدته لك فأمر النبي ﷺ أصحابه أن يأكلوه ولم يأكل منه حين أخبرته أني اصطدته له

ابن ماجه 3093صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Rites of pilgrimage
Chapter
Permission for that if it was not hunted for him
Numbering
Darussalam 3093
Ibn Majah 3093