the Prophet (ﷺ) ruled that a gift given for life belongs to the heirs (of the recipient).
Sunan Ibn Majah Book 14, Hadith 7