Abdullah bin Abbas reported,

"I do not know whether the Messenger of Allah ﷺ forbade it because the donkeys were the people's means of transport, so he disliked that their transport be lost, or whether he prohibited the flesh of domestic donkeys on the day of Khaybar outright."

Azami 7425

Sahih

عن ابن عباس قال

لا أدري أنهى رسول الله ﷺ من أجل أنه كان حمولة الناس، فكره أن تذهب حمولتهم، أو حرمه في يوم خيبر لحوم الحمر الأهلية.

الأعظمي 7425صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Foods
Chapter
Forbidden foods
Section
Prohibition of the meat of domesticated donkeys
Numbering
Jami al-Kamil 7425 (2nd edition)
Azami 7425