It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Noble Prophet (peace and blessings be upon him) forbade Raqba (giving a house or land to someone until a certain person's death) and said: "Whoever Raqba is made for, it belongs to him."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 4801
Hadith Gradingحکم دارالسلام:صحيح لغيره، حبيب بن أبى ثابت مدلس، وقد عنعن، وقد صرح عند عبد الرزاق 16920 أنه لم يسمع من ابن عمر فى الرقبي شيئا