Sahih Muslim #3432 · The Book of Marriage

Sahih MuslimMalik narrated this hadith on the authority of the same chain of trans- witters that 'Ali b. Abil Talib said to a person
Sahih Muslim · Book 16 · The Book of Marriage
Sahih Muslim · كتاب 16 · كتاب النكاح
You are a person led astray; Allah's Messenger (ﷺ) forbade us (to do Mut'a), as is stated In the hadith transmitted on the authority of Yahya b. Malik.
وَحَدَّثَنَاهُ عَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ أَسْمَاءَ الضُّبَعِيُّ، حَدَّثَنَا جُوَيْرِيَةُ، عَنْ مَالِكٍ، بِهَذَا الإِسْنَادِ وَقَالَ سَمِعَ عَلِيَّ بْنَ أَبِي طَالِبٍ، يَقُولُ لِفُلاَنٍ إِنَّكَ رَجُلٌ تَائِهٌ نَهَانَا رَسُولُ اللَّهِ صلى الله عليه وسلم ‏.‏ بِمِثْلِ حَدِيثِ يَحْيَى بْنِ يَحْيَى عَنْ مَالِكٍ ‏.‏
Reference : Sahih Muslim 3432In-book reference : Book 16, Hadith 35