In the name of Allah, Most Gracious, Most Merciful.
Ibn Mas’ud (May Allah be pleased with him) reported: The Messenger of Allah (SAWS) asked: “Who of you loves the wealth of his heir more than his own wealth?” The Companions said: “O Messenger of Allah! There is none of us but loves his own wealth more.” The Messenger of Allah (SAWS) said: “His wealth is that which he has sent forward (spending for Judgement Day), but that which he retains belongs to his heir.” (Al-Bukhari).
SAWS: May Allah exalt his mention and protect him from imperfection
Commentary: This hadith spotlights in a wise fashion the significance and perception of spending in the way of Allah. The real wealth of man is that which he spends in His way and the channels He approves. Only this wealth will stand him in good stead on the Day of Resurrection. Otherwise , what apart from it, will be personally used up by him in the worldly life, and what he leaves behind will fall to the lot of his heirs. It implies that if Allah has bestowed worldly riches upon a man, he should spend them to the maximum in the way to Allah.
Riyaadiss-Saliheen (The Meadows of the Righteous)
By Imam An Nawawi
Chapter 60, Page 178, No 545