It is narrated from Sayyiduna Sabrah bin Ma'bad (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) forbade it (mut'ah) during the Farewell Pilgrimage.
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6502