Ali bin Abu Talib reported,

He heard Ibn Abbas being lenient regarding the temporary marriage of women, so he said, "Hold on, Ibn Abbas! The Messenger of Allah ﷺ forbade it on the day of Khaybar, along with the meat of domestic donkeys."

Azami 6463

Sahih

عن علي بن أبي طالب

أنه سمع ابن عباس يلين في متعة النساء. فقال: مهلا يا ابن عباس! فإن رسول الله ﷺ نهى عنها يوم خيبر، وعن لحوم الحمر الأهلية.

الأعظمي 6463صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Marriage
Chapter
Prohibited marriages in Islam
Section
Mutah marriage and the explanation of its abrogation
Numbering
Jami al-Kamil 6463 (2nd edition)
Azami 6463