صحيح مسلم
From Sahih Muslim (Hadith 3414):
Salama b. al. Akwa' and Jabir b. Abdullah reported:Allah's Messenger (ﷺ) came to us and permitted us to contract temporary marriage
Reference: Muslim 3414