Hadithcore
Sunan Abi Dawud, 2072

Al Zuhri said “we were with ‘Umar bin ‘Abd Al Aziz, there we discussed temporary marriage. A man called Rabi bin Saburah said “I bear witness that my father told me that the Messenger of Allaah(ﷺ) had prohibited it at the Farewell Pilgrimage.”

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

References2 variants
In-Book Reference
Book 12, Hadith 27
English Reference
Book 11, Hadith 2067