Abu Zubayr reported,

I heard Jabir bin Abdullah say, "During the time of the Messenger of Allah ﷺ and Abu Bakr, we used to contract temporary marriage for a handful of dates or flour for a number of days, until Umar forbade it in connection with the case of Amr bin Hurayth."

Azami 6476

Sahih

عن أبي الزبير قال

سمعت جابر بن عبد الله يقول: كنا نستمتع بالقبضة من التمر والدقيق الأيام على عهد رسول الله ﷺ وأبي بكر، حتى نهى عنه عمر في شأن عمرو بن حريث.

الأعظمي 6476صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Marriage
Chapter
Prohibited marriages in Islam
Section
Those who say that Umar bin Khattab is the one who prohibited mutah
Numbering
Jami al-Kamil 6476 (2nd edition)
Azami 6476