Sahih al-Bukhari, Book 67, Hadith 52 (Bukhari 4910)

Narrated `Ali:

I said to Ibn `Abbas, "During the battle of Khaibar the Prophet (ﷺ) forbade (Nikah) Al-Mut'a and the eating of donkey's meat."