Abdullah bin Umar reported,

The Messenger of Allah ﷺ forbade eating the meat of domestic donkeys on the day of Khaybar, at a time when the people were in need of them.

Muslim 5009

Sahih

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

عن ابن عمر قال

نهى رسول الله ﷺ عن أكل الحمار الأهلي يوم خيبر وكان الناس احتاجوا إليها

مسلم 5009صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hunting, slaughtering, and what may be eaten of animals
Chapter
Prohibition of eating the meat of domestic donkeys
Numbering
Darussalam 5009
Muslim 5009