I heard the Messenger of Allah ﷺ say, "Whoever grants another man a lifetime gift for him and his descendants, his ownership of it is severed by his own words, and it belongs to the one to whom it was given and to his descendants."However, Yahya, at the beginning of his version of the hadith, said, "Whichever man is granted a lifetime gift, it belongs to him and to his descendants."
حدثنا يحيى بن يحيى ومحمد بن رمح قالا أخبرنا الليث ح و حدثنا قتيبة حدثنا ليث عن ابن شهاب عن أبي سلمة
سمعت رسول الله ﷺ يقول من أعمر رجلا عمرى له ولعقبه فقد قطع قوله حقه فيها وهي لمن أعمر ولعقبه غير أن يحيى قال في أول حديثه أيما رجل أعمر عمرى فهي له ولعقبه