Saad bin Abu Waqqas reported,

The Prophet ﷺ came to visit me when I was ill in Mecca, and he disliked the thought of someone dying in the land from which he had emigrated.He said, "May Allah have mercy on Ibn Afra."I asked, "Messenger of Allah, shall I bequeath all my wealth?"He replied, "No."I asked, "Then half?"He replied, "No."I asked, "A third?"He said, "A third, and a third is much. To leave your heirs wealthy is better than to leave them destitute, begging from people. Whatever you spend will be counted as charity, even the morsel you raise to your wife's mouth. And perhaps Allah will raise you up so that some people will benefit through you and others will be harmed by you."At that time, he had only one daughter.

Azami 11949

Sahih

عن سعد بن أبي وقاص قال

جاء النبي ﷺ يعودني وأنا بمكة، وهو يكره أن يموت بالأرض التي هاجر منها قال: يرحم الله ابن عفراء قلت: يا رسول الله، أوصي بمالي كله؟ قال: لا قلت: فالشطر؟ قال: لا قلت: الثلث؟ قال: الثلث والثلث كثير، إنك أن تدع ورثتك أغنياء خير من أن تدعهم عالة يتكففون الناس في أيديهم، وإنك مهما أنفقت من نفقة فإنها صدقة حتى اللقمة التي ترفعها إلى في امرأتك، وعسى الله أن يرفعك فينفع بك ناس ويضر بك آخرون ولم يكن له يومئذ إلا ابنة.

الأعظمي 11949صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "Prescribed for you when death approaches one of you, if he leaves wealth, is the bequest for parents and relatives according to what is acceptable, a duty upon the righteous"
Numbering
Jami al-Kamil 11949 (2nd edition)
Azami 11949