It is narrated from Sayyiduna Abu Kabshah al-Anmari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "My Ummah consists of four kinds of people: a man who was given wealth and spent it in obedience to Allah, and another man saw him and said: If I had wealth like his wealth, I would do with it just as he did. These two are equal in reward."
Hadith Referenceالمعجم الكبير للطبراني / مسند من يعرف بالكنى / 19063