BAYHAQI 11989:
from Zayd b. Thābit —
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)
البيهقي ١١٩٨٩:
عن زيد بن ثابت —
قَالَ رَسُولُ اللهِ ﷺ مَنْ أَعْمَرَ شَيْئًا فَهُوَ لِمُعْمَرِهِ مَحْيَاهُ وَمَمَاتَهُ وَلَا تُرْقِبُوا فَمَنْ أَرْقَبَ شَيْئًا فَهُوَ سَبِيلُهُ وَفِي رِوَايَةِ شِبْلٍ فَهُوَ سَبِيلُ الْمِيرَاثِ
hadithunlocked.com