On the day of Khaybar the Messenger of Allah (may pease be upon him) forbade (eating) the flesh of domestic asses, and the animal which feeds on filth: riding it and eating its flesh. (Using translation from Abū Dāʾūd 3811)
نَهَى رَسُولُ اللهِ ﷺ عَنْ لُحُومِ الْحُمُرِ الْأَهْلِيَّةِ وَعَنِ الْجَلَّالَةِ وَعَنْ رُكُوبِهَا وَأَكْلِ لُحُومِهَا