Abd al-Malik bin al-Rabi' bin Sabrah narrates from his father, from his grandfather (may Allah be pleased with him), that the Messenger of Allah (peace and blessings be upon him) "permitted us mut'ah marriage" in the year of the conquest of Makkah when we entered Makkah, and we had not yet left it when he forbade it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 14151