Sayyiduna Ali (may Allah be pleased with him) said: Three men came to the Prophet (peace and blessings be upon him). One of them said: "I have a hundred uqiyahs, and I gave ten uqiyahs in charity." The second said: "I have a hundred dinars, and I gave ten dinars in charity." And the third said: "I have ten dinars, and I gave one dinar in charity." So the Prophet (peace and blessings be upon him) said: "Each one of you has given a tenth of his wealth in charity, and you are all equal in reward."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الزكاة / 7780