let us see what is written in the book al-mohali by ibn hazam

“no doubt, there was a group amongst salaf who believe in muta’a being halal; and the sahaba which included in this group, included:- asma bint abu bakar, jabir bin abdullah, ibn masood, ibn abbas, mawia bin abu sufian, amr bin hareeth, abu saeed khidri, salma, and mabad son of umya bin khalaf”

[al mohallai, vol 9, page 519]

let us see scans