Jabir bin Abdullah reported,

The Messenger of Allah ﷺ ruled that whoever is granted a lifetime gift (umra) for himself and his descendants, it becomes his outright, and any condition or exception stipulated by the giver is invalid.Abu Salama said, "This is because he made a gift in which the laws of inheritance took effect, and the laws of inheritance overrode his condition."

Nasai 3778

Sahih

أخبرنا محمد بن عبد الله بن عبد الحكم عن ابن أبي فديك قال حدثنا ابن أبي ذئب عن ابن شهاب عن أبي سلمة

عن جابر

أن رسول الله ﷺ قضى فيمن أعمر عمرى له ولعقبه فهي له بتلة لا يجوز للمعطي منها شرط ولا ثنيا قال أبو سلمة لأنه أعطى عطاء وقعت فيه المواريث فقطعت المواريث شرطه

النسائي 3778صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Umari
Chapter
Disagreement about Zuhri regarding it
Numbering
Darussalam 3778
Nasai 3778