Sunan Abi Dawud, Book 28, Hadith 54 (Abu Dawud 3790)

Narrated Jabir ibn Abdullah:

On the day of Khaybar we slaughtered horses, mules, and assess. The Messenger of Allah (ﷺ) forbade us (to eat) mules and asses, but he did not forbid horse-flesh.