Salama b. al-Akwa said that in the year of Autas* God's Messenger permitted a temporary marriage for three nights, but afterwards he prohibited it. *This was after the battle of Hunain in 8 A.H. Muslim transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب النكاح / 3148
Hadith Gradingالألبانی:صَحِيح | زبیر علی زئی:صحيح
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «رواه مسلم (1405/18)»