Abu Qatada reported,

He was with the Messenger of Allah ﷺ until, while on the road to Mecca, he stayed behind with some of his companions who were in the state of ihram, while he himself was not in ihram. He spotted a wild donkey and mounted his horse. He asked his companions to hand him his whip, but they refused. He asked them for his spear, but they refused again. So he took it himself, then charged at the donkey and killed it. Some of the Prophet's ﷺ companions ate from it, while others refused.When they caught up with the Messenger of Allah ﷺ, they asked him about this. He said, "It is simply food that Allah has provided for you to eat."Zayd bin Aslam reported from Ata bin Yasar from Abu Qatada regarding the wild donkey, similar to the hadith of Abu Nadr. He said, "Do you have any of its meat with you?"

Bukhari 2914

Sahih

حدثنا عبد الله بن يوسف أخبرنا مالك عن أبي النضر مولى عمر بن عبيد الله عن نافع مولى أبي قتادة الأنصاري

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

أنه كان مع رسول الله ﷺ حتى إذا كان ببعض طريق مكة تخلف مع أصحاب له محرمين وهو غير محرم فرأى حمارا وحشيا فاستوى على فرسه فسأل أصحابه أن يناولوه سوطه فأبوا فسألهم رمحه فأبوا فأخذه ثم شد على الحمار فقتله فأكل منه بعض أصحاب النبي ﷺ وأبى بعض فلما أدركوا رسول الله ﷺ سألوه عن ذلك قال إنما هي طعمة أطعمكموها الله وعن زيد بن أسلم عن عطاء بن يسار عن أبي قتادة في الحمار الوحشي مثل حديث أبي النضر قال هل معكم من لحمه شيء

البخاري 2914صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Spears
Numbering
Darussalam 2914
Bukhari 2914