It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that we said: "O Messenger of Allah! The wealthy have attained the high ranks and carried off the everlasting comfort." The Messenger of Allah (peace and blessings be upon him) asked: "How is that?" One of the Companions said that they pray as we pray and they wage jihad as we wage jihad, but they have abundant wealth which they spend in the way of Allah, while we have no wealth. The Messenger of Allah (peace and blessings be upon him) said: "Shall I not tell you of a deed by which you will reach the ranks of those who went before you and surpass those who come after you? Then no one will reach your rank except a person who brings a deed like it. After every prayer say 'Subhan Allah' (Allah is free of all imperfection) ten times, 'Al-hamdu lillah' (All praise is for Allah) ten times, and 'Allahu akbar' (Allah is the Greatest) ten times."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3022