Jabir bin 'Abdullah and Salama bin al-Akwa' said: There came to us the proclaimer of Allah's Messenger (ﷺ) and said: Allah's Messenger (ﷺ) has granted you permission to benefit yourselves, i. e. to contract temporary marriage with women.
Hadith ReferenceSahih Muslim / The Book of Marriage / Hadith: 1405