Abu Ishaq Sa'd bin Abu Waqqas (May Allah be pleased with him) (one of the ten who had been given the glad tidings of entry into Jannah) narrated:
Messenger of Allah (ﷺ) visited me in my illness which became severe in the year of Hajjat-ul-Wada' (Farewell Pilgrimage). I said, "O Messenger of Allah, you can see the pain which I am suffering and I am a man of means and there is none to inherit from me except one daughter. Should I give two-thirds of my property in charity?" He (ﷺ) said, "No". I asked him, "Then half?" He said, "No". Then I asked, "Can I give away one-third". He said, "Give away one-third, and that is still too much. It is better to leave your heirs well-off than to leave them poor, begging people. You will not expend a thing in charity for the sake of Allah, but you will be rewarded for it; even the morsel of food which you feed your wife". I said, "O Messenger of Allah, would I survive my companions?" He said, "If you survive others and accomplish a thing for the sake of Allah, you would gain higher ranking and standing. You will survive them ... your survival will be beneficial to people (the Muslim) and harmful to others (the enemies of Islam). You will survive others till the people will derive benefit from you, and others would be harmed by you." Messenger of Allah (ﷺ) further said, "O Allah, complete for my Companions their emigration and do not cause them to retract." Sa'd bin Khaulah was unfortunate. Messenger of Allah (ﷺ) lamented his death as he died in Makkah.[Al-Bukhari and Muslim].
Arabic/English book reference: Book 1, Hadith 6