Sahih Muslim Book 8, Hadith Number 3264.

Chapter: Temporary marriage and its prohibition for all times to come.

Malik narrated this hadith on the authority of the same chain of transmitters that ‘Ali b. Abil Talib said to a person: You are a person led astray; Allah’s Messenger (May peace be upon him) forbade us (to do Mut’a), as is stated in the hadith transmitted on the authority of Yahya b. Malik.