(3) باب نِكَاحِ الْمُتْعَةِ وَبَيَانِ أَنَّهُ أُبِيحَ ثُمَّ نُسِخَ ثُمَّ أُبِيحَ ثُمَّ نُسِخَ وَاسْتَقَرَّ تَحْرِيمُهُ إِلَى يَوْمِ الْقِيَامَةِ
Rabi' b. Sabra reported on the authority of his father that Allah's Apostle (ﷺ) prohibited the contracting of temporary marriage.
Reference: Sahih Muslim 1406 h
In-book reference: Book 16, Hadith 29
USC-MSA web (English) reference(deprecated numbering scheme): Book 8, Hadith 3259