Sahih Muslim , Book 8, Hadith 3259 (USC-MSA)

Rabi' b. Sabra reported on the authority of his father that Allah's Apostle prohibited the contracting of temporary marriage.

حَدَّثَنَا عَمْرٌو النَّاقِدُ، وَابْنُ، نُمَيْرٍ قَالاَ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنِ الزُّهْرِيِّ، عَنِ الرَّبِيعِ بْنِ سَبْرَةَ، عَنْ أَبِيهِ، أَنَّ النَّبِيَّ صلى الله عليه وسلم نَهَى عَنْ نِكَاحِ الْمُتْعَةِ ‏.‏

sunnah.com