In the Quranic verse 34:39 Allah (swt) says:
“Say, truly my Lord enlarges the provision for whom He wills of His slaves and (also) restricts (it) for him and whatsoever you spend of anything (in Allah’s cause), He will replace it. And He is the best of the providers.
According to his verse Allah (swt) can grant wealth to the disbelievers in order to test them, and He can deprive even the Muslims, sometimes, in order to enhance their rewards. Therefore, if a man is wealthy so it does not necessarily imply that Allah (swt) is pleased with him. On the other hand, if a man is facing hardships then this does not necessarily mean that Allah (swt) is not pleased with him. According to this Quranic verse whoever gives charity or donation from his wealth, Allah (swt) will give that person reward in this world and in the life Hereafter.
Allah (swt) says, ‘Spend on charity, O son of Adam, and I shall spend on you’. (Hadith Qudsi).
Abu Huraira narrated that Prophet Mohammad (saw) said, ‘Everyday two angels come down from the Heaven and say, ‘O Allah! Compensate every person who spends in your cause and the other (angel) says, ‘O Allah! Destroy every miser’. There are several examples from the Quran and the ahadith which stress the importance of being generous in Islam.
If a person gives charity to a poor person, this does not mean that he becomes the sustainer of that poor person. The person who gives charity is only a medium through which Allah (swt) offers help to the poor. The true sustainer is only Allah (swt) and therefore even if a person offers charity or donation from his wealth it is Allah (swt) who is helping the poor indirectly. This is because it is Allah (swt) who offers wealth to the prosperous people in the first place. If anyone feels that they owe their success and prosperity to their wisdom or hard work, then they are definitely mistaken. Allah (swt) has destroyed entire nations in the past who dared to behave haughtily.
On the authority of Abu Huraira (ra), Prophet Mohammad (saw) said, ‘Allah (mighty and Sublime be He) said, Pride is my cloak and greatness my robe and who competes with Me in respect of either of them I shall cat them into Hell-fire’. (Hadith Qudsi).
Though a father is said to be the protector of his children and a king is said to be the protector of his army but actually it is Allah (swt) who is the ultimate Protector of all His creatures. When a person gives charity or a donation, he is actually passing on the wealth given to him by Allah (swt). Despite this Allah (swt), being All-Merciful, has offered a great reward from His side to all those who obey His Commandments of spending in His cause.