Sayyiduna Sa'd bin Malik (may Allah be pleased with him) says: The Prophet (peace and blessings be upon him) came to visit me in my illness, and I disliked dying in the very land from which I had emigrated. I said: O Messenger of Allah (peace and blessings be upon him)! Shall I bequeath all my wealth? He (peace and blessings be upon him) said: "No." I said: Half of the wealth? He (peace and blessings be upon him) said: "No." I said: A third of the wealth? He (peace and blessings be upon him) said: "A third (you may bequeath), and even a third is a lot." He (peace and blessings be upon him) said: "That you leave your heirs in a state of wealth is better than that you leave them in poverty, stretching out their hands before people. And whenever you spend anything in the way of Allah, it will become charity on your behalf, even the morsel that you raise to your wife's mouth (you are rewarded for it too). And perhaps (Allah) will grant you elevation and benefit many people through you and harm others (i.e., the disbelievers and polytheists)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 17780