The Messenger of Allah was certainly not the most wealthy person as far as physical or material wealth is concerned and that is because He ﷺ rather chose to be a grateful servant rather than a famous king.
Yet despite this, No person could ever equal Muhammad ﷺ in generosity. Whatever he received, he gave away to others and felt more pleasure than those who received the gift. He never turned anyone away empty-handed from his house and always gave preference to the needy over his own needs.
His charity was of various kinds. Sometimes he gave a gift; sometimes he borrowed something and repaid it generously; sometimes he bought a thing and paid more than the price to the seller; and sometimes he gave charity. He accepted gifts from other people but always gave more gifts in return for them.
The Blessed Prophet ﷺ never said no to any request from anyone in his life. He used to say that he was only a distributor and a treasurer and that Allah was the Bestower of everything. Once a man came to him and saw his herd of goats stretching over a vast area. He requested help and the Prophet ﷺ gave him the whole herd of goats. He went back to his people and told them to accept Islam, for Muhammad ﷺ was so generous that there was no fear of poverty. Another man asked him for help when he had nothing to give, so he told the man to borrow on his behalf and he would repay the loan. Hadhrat Umar RA, who was present, asked Nabi ﷺ whether Allah had not burdened him more than he could bear. The Prophet ﷺ kept quiet. However, a man was present there who offered to help. The Messenger of Allah ﷺ smiled with great joy at his offer.
The Final Nabi of Allah ﷺ was so generous that he always gave something to anyone who asked him for help, but if he had nothing, he promised help later on. Sometimes it so happened that Nabi ﷺ purchased an article for himself, then gave it as a gift to the seller. Once he bought a camel from Hadhrat Umar RA and straightaway gave it as a gift to Hadhrat Umar RA’s son Hadhrat Abdullah RA. Once he bought something from Hadhrat Jabir RA and gave it back to him as a gift. Sometimes Allah blessed the food that the Prophet ﷺ shared so that it multiplied to feed many. During one battle, there were over a hundred Companions RA with the Prophet ﷺ. He bought one goat, slaughtered it and ordered its liver to be roasted. When it was ready, he distributed it among all the Companions RA and kept a share for those who were not present.
Whenever he received anything, he did not sit in peace until it was finished. Hadhrat Umm Salmah RA, the Prophet ﷺ’s wife, reported that one day Allah’s Messenger ﷺ came home looking disturbed. She asked him what the matter was. He replied that the seven dinars he had received the day before had remained on the bed until evening and had not been distributed. He did not rest until they were given away. Hadhrat Abu Dhar RA reported that one evening he was walking with Allah’s Messenger ﷺ when he said, “Abu Dhar, if the mountain of Uhud were turned into gold for me, I would not like three nights to pass and one dinar still be left with me, excepting what I would leave for paying my debts.” He would never rest until all the cash in the house was completely finished. Once the Prophet ﷺ went home in a hurry after the prayer and then immediately came out again. The people were surprised, but he told them that he had remembered during the prayer that there was some gold in his house. He thought that he might forget and the gold might remain there all night. He went back home to ask that it might immediately be given in charity.
The Prophet of Allah ﷺ always paid the debts of the dead and issued instructions to the effect that if anyone died leaving any debt, he should be informed of it so that he could pay it off. Whenever Muhammad ﷺ met any miserly person, he advised him to be more generous and charitable. Hadhrat Ibn Abbas RA said that he heard Allah’s Messenger ﷺ say, “The believer is not the one who eats when his neighbour beside him is hungry,” while Hadhrat Abu Hurayrah RA reported Allah’s Messenger ﷺ as saying, “The believer is simple and generous, but the wicked person is deceitful and ignoble.”
In short, Muhammad ﷺ was so generous and charitable that he never kept anything surplus for himself but gave all to those who came to him for help.