The Book of Marriage (Kitab Al-Nikah)
Muslim :: Book 8 : Hadith 3251
Iyas b. Salama reported on the authority of his father that Allah's Messenger (may peace be upon him) gave sanction for contracting temporary marriage for three nights in the year of Autas 1847 and then forbade it.