The Prophet ﷺ said: If anyone gives something in life-tenancy, it belongs to the one to whom it is given, in his life and after his death; and do not give property to go to the survivor, for if anyone gives something to to to the survivor, it belongs to him. (Using translation from Abū Dāʾūd 3559)
قَالَ رَسُولُ اللهِ ﷺ مَنْ أَعْمَرَ عُمْرَى فَهِيَ لِمُعْمِرِهِ مَحْيَاهُ وَمَمَاتَهُ لَا تُرْقِبُوا فَمَنْ أَرْقَبَ شَيْئًا فَهُوَ سَبِيلُ الْمِيرَاثِ