It is narrated from Sayyiduna Abdullah bin Salam (may Allah be pleased with him), who said: We said: "O Messenger of Allah, are we better, or those who will come after us?" The Messenger of Allah (peace and blessings be upon him) said: "If one of them had gold equal to (the mountain of) Uhud and spent it in the path of Allah, he would not reach a mudd of any one of you, nor even half of it."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13971