Abdullah bin Abbas reported,

He used to be lenient regarding the temporary marriage of women, so Ali said, "Hold on, Ibn Abbas. The Messenger of Allah ﷺ forbade it on the day of Khaybar, along with the meat of domestic donkeys."

Muslim 3434

Sahih

و حدثنا محمد بن عبد الله بن نمير حدثنا أبي حدثنا عبيد الله عن ابن شهاب عن الحسن وعبد الله ابني محمد بن علي عن أبيهما عن علي أنه سمع

ابن عباس

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

مسلم 3434صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Marriage
Chapter
Temporary marriage and the explanation that it was permitted then abrogated, then permitted then abrogated, and its prohibition was established until the Day of Resurrection
Numbering
Darussalam 3434
Muslim 3434