Iyas bin Salamah narrates from his father: In the year of the Battle of Autas, the Prophet Muhammad (peace be upon him) granted us permission to contract temporary marriage (mut'ah) for three days, then he forbade us from it. (Imam Ibn Hibban, may Allah have mercy on him, says:) The Battle of Autas and the Conquest of Makkah took place in the same year.
Hadith Referenceصحیح ابن حبان / كتاب النكاح / 4151
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح: م (4/ 131).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الشيخين