Sahih Muslim Book 8, Hadith Number 3248.

Chapter: Temporary marriage and its prohibition for all times to come.

Ibn Uraij reported: ‘Ati’ reported that Jibir b. Abdullah came to perform ‘Umra, and we came to his abode, and the people asked him about different things, and then they made a mention of temporary marriage, whereupon he said: Yes, we had been benefiting ourselves by this temporary marriage during the lifetime of the Holy Prophet (May peace be upon him) and during the time of Abi! Bakr and ‘Umar.