It is narrated from Sayyiduna Abu Hurairah, may Allah be pleased with him, that he asked: O Messenger of Allah (ﷺ), which charity is the best? The Messenger of Allah (ﷺ) replied: "The charity given by a person of little means from his hard-earned money is the best, and begin by spending on those whose maintenance is your responsibility."
Sayyiduna Jabir (may Allah be pleased with him) narrates from the Noble Prophet (peace and blessings be upon him) that he (peace be upon him) said: "When any one of you is in need and poor, he should first spend on himself. Then if any wealth remains, he should spend on his family. If wealth still remains, he should spend it on his close relatives. If after that there is still surplus wealth, he should distribute it among the needy here and there."