The lifetime grant which the Messenger of Allah ﷺ permitted is when one says, "It is yours and your descendants'." But if he says, "It is yours for as long as you live," then it returns to its original owner.Muamar said, Zuhri used to issue legal rulings according to this.
حدثنا إسحق بن إبراهيم وعبد بن حميد واللفظ لعبد قالا أخبرنا عبد الرزاق أخبرنا معمر عن الزهري عن أبي سلمة
إنما العمرى التي أجاز رسول الله ﷺ أن يقول هي لك ولعقبك فأما إذا قال هي لك ما عشت فإنها ترجع إلى صاحبها قال معمر وكان الزهري يفتي به