It was narrated that Anas said:
"An announcer came to us from the Messenger of Allah (ﷺ) and said: 'Allah and His Messenger forbid you from (eating) the flesh of domestic donkeys, for it is filth.'"
Arabic/English book reference: Vol. 1, Book 1, Hadith 69