The Prophet ﷺ commanded us during the Battle of Khaybar to throw away the meat of domestic donkeys, both raw and cooked, and afterward he never instructed us to eat it.
أمرنا النبي ﷺ في غزوة خيبر أن نلقي الحمر الأهلية نيئة ونضيجة، ثم لم يأمرنا بأكله بعد.