Imam Al-Nawawi's Riyad-us-Saliheen
Chapter 58
Permissibility of Assistance without Greed

538. Salim, son of Abdullah bin `Umar, from his father Abdullah; from `Umar (May Allah be pleased with them) reported: Messenger of Allah (sallallaahu ’alayhi wa sallam) would give me some gift, but I would say: "Give it to someone who needs it more than I.'' Thereupon he (sallallaahu ’alayhi wa sallam) would say, "Take it when it comes to you without begging and without greed, and add it to your property. Then use it yourself or give it away in charity. As for the rest, do not covet it.'' Salim said: `Abdullah bin `Umar would never ask anything from anyone, nor would he refuse accepting it when it was given to him.
[Al-Bukhari and Muslim].

Commentary:  In this Hadith, three points merit our attention. First, there is an account of the exemplary character of the Companions who became unmindful of their own needs when they saw that somebody else was more needy and deserved assistance. Second, there is an allowance for accepting a gift provided one's heart is free from desire for it. Third, a man is allowed to accumulate wealth but on the condition that he would fulfill his personal and family needs. Besides, he should resolve that he would also spend money on the needy as well as on the lines approved by Allah so as to win His pleasure.