Narrated `Ali
I said to Ibn `Abbas, "During the battle of Khaibar the Prophet (ﷺ) forbade (Nikah) Al-Mut'a and the eating of donkey's meat."
Narrated Abu Jamra
I heard Ibn `Abbas (giving a verdict) when he was asked about the Mut'a with the women, and he permitted it (Nikah-al-Mut'a). On that a freed slave of his said to him, "That is only when it is very badly needed and women are scarce." On that, Ibn `Abbas said, "Yes."
Narrated Jabir bin `Abdullah and Salama bin Al-Akwa`
While we were in an army, Allah's Messenger (ﷺ) came to us and said, "You have been allowed to do the Mut'a (marriage), so do it."