Sahih Muslim | Book 8 | Hadith Number 3251

Narrated by Iyas b. Salama
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.