Sunan an-Nasa'i, Book 1, Hadith 69 (Nasa'i 69)

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.'"