Malik related to me from Ibn Shihab from Abu Salama ibn Abd ar- Rahman ibn Awf from Jabir ibn Abdullah al-Ansari that the Messenger of Allah ﷺ said, "If someone is given a life pension, for him and his posterity, it belongs to the person to whom it has been given. It never reverts to the one who gave it because he gave a gift and the rules of inheritance apply to it."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ أَيُّمَا رَجُلٍ أُعْمِرَ عُمْرَى لَهُ وَلِعَقِبِهِ فَإِنَّهَا لِلَّذِي يُعْطَاهَا لاَ تَرْجِعُ إِلَى الَّذِي أَعْطَاهَا أَبَدًا لأَنَّهُ أَعْطَى عَطَاءً وَقَعَتْ فِيهِ الْمَوَارِيثُ