Sahih Muslim 4201
The Book of Gifts
حَدَّثَنَا يَحْيَى بْنُ حَبِيبٍ الْحَارِثِيُّ، حَدَّثَنَا خَالِدٌ، - يَعْنِي ابْنَ الْحَارِثِ - حَدَّثَنَا سَعِيدٌ، عَنْ قَتَادَةَ، عَنْ عَطَاءٍ، عَنْ جَابِرٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ قَالَ " الْعُمْرَى مِيرَاثٌ لأَهْلِهَا " .
Jabir b. Abdullah (Allah be pleased with them) reported Allah's Apostle (ﷺ) as saying:Life grant is the heritage of one upon whom it is conferred
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.