Saad bin Abu Waqqas reported,

The Messenger of Allah ﷺ came to visit me during my severe illness in the year of the Farewell Pilgrimage.I said, "My pain has reached the point you can see, and I am a man of wealth with no heir except a single daughter. Shall I give two-thirds of my wealth in charity?"He said, "No."I said, "Then half?"He said, "No."I said, "Then a third?"He said, "A third, and even a third is much. To leave your heirs wealthy is better than to leave them destitute, begging from people. You will never spend anything seeking the face of Allah without being rewarded for it, even the morsel you place in your wife's mouth."

Bukhari 5668

Sahih

حدثنا موسى بن إسماعيل حدثنا عبد العزيز بن عبد الله بن أبي سلمة أخبرنا الزهري

عن عامر بن سعد عن أبيه قال

جاءنا رسول الله ﷺ يعودني من وجع اشتد بي زمن حجة الوداع فقلت بلغ بي ما ترى وأنا ذو مال ولا يرثني إلا ابنة لي أفأتصدق بثلثي مالي قال لا قلت بالشطر قال لا قلت الثلث قال الثلث كثير أن تدع ورثتك أغنياء خير من أن تذرهم عالة يتكففون الناس ولن تنفق نفقة تبتغي بها وجه الله إلا أجرت عليها حتى ما تجعل في في امرأتك

البخاري 5668صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sick
Chapter
Sick person saying "I am in pain" or "Oh my head" or "The pain has intensified for me"
Numbering
Darussalam 5668
Bukhari 5668