(3) باب نِكَاحِ الْمُتْعَةِ وَبَيَانِ أَنَّهُ أُبِيحَ ثُمَّ نُسِخَ ثُمَّ أُبِيحَ ثُمَّ نُسِخَ وَاسْتَقَرَّ تَحْرِيمُهُ إِلَى يَوْمِ الْقِيَامَةِ
'Ali b. AbiTalib reported that Allah's Messenger (ﷺ) prohibited on the Day of Khaibar the contracting of temporary marriage with women and the eating of the flesh of domestic asses.
Reference: Sahih Muslim 1407 a
In-book reference: Book 16, Hadith 34
USC-MSA web (English) reference(deprecated numbering scheme): Book 8, Hadith 3263