We were discussing temporary marriage of women in the presence of Umar bin Abdul-Aziz when Rabi bin Sabra said, "I heard my father say, 'I heard the Messenger of Allah ﷺ during the Farewell Pilgrimage forbid temporary marriage.'"
حدثنا عبد الصمد حدثنا أبي حدثنا إسماعيل بن أمية
تذاكرنا عند عمر بن عبد العزيز المتعة متعة النساء فقال ربيع بن سبرة سمعت أبي يقول سمعت رسول الله ﷺ في حجة الوداع ينهى عن نكاح المتعة
Its isnad is sahih. Ismail bin Umaya al-Umawi is trustworthy and reliable. See the preceding one, except that this contains a further confirmation of the abrogation, since the Farewell Pilgrimage was among the last days of the Prophet ﷺ.