Jabir bin Abdullah reported,

The Messenger of Allah ﷺ said, "Whenever a man grants a lifetime gift to another man and his descendants, saying, 'I have given it to you and your descendants for as long as any of you remain,' it belongs to the one to whom it was given. It does not return to the original owner, because he made a gift in which the rules of inheritance now apply."

Azami 6020

Sahih

عن جابر بن عبد الله الأنصاري

أن رسول الله ﷺ قال: أيما رجل أعمر رجلا عمري له ولعقبه، فقال: قد أعطيتكها وعقبك ما بقى منكم أحد، فإنها لمن أعطيها، وإنها لا ترجع إلى صاحبها من أجل أنه أعطى عطاء وقعت فيه المواريث.

الأعظمي 6020صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Gifts, presents, umra, and ruqba
Section
Umari
Numbering
Jami al-Kamil 6020 (2nd edition)
Azami 6020