Sahih Muslim Book 8, Hadith Number 3247.
Chapter: Temporary marriage and its prohibition for all times to come.
Salama b. al-Akwa’ and Jabir b. Abdullah reported: Allah’s Messenger (May peace be upon him) came to us and permitted us to contract temporary marriage.