From Sahih Muslim (Hadith 3433):
Muhammad b. 'Ali narrated on the authority of his father 'Ali that Allah's Apostle (ﷺ) on the Day of Khaibar prohibited for ever the contracting of temporary marriage and eating of the flesh of the domestic asses
Reference: Muslim 3433