Sahih Muslim, Book 16, Hadith 38 (Muslim 3404)

'Ali (Allah be pleased with him) said to Ibn 'Abbas (Allah be pleased with them) that Allah's Messenger (ﷺ) on the Day of Khaibar forbade forever the contracting of temporary marriage and the eating of the flesh of domestic asses.