Jabir reported the Prophet (ﷺ) as saying, “Do not give property to go to the survivor* and do not give life-tenancy, for if anyone is given either the property goes to his heirs."
*This is said to be objectionable, as it…
He reported the Prophet (ﷺ) as saying, “Both life-tenancy and giving property which goes to the survivor are a gift which belongs to those who receive it."
Ahmad, Tirmidhi and Abu Dawud transmitted it.