The Messenger of Allah ﷺ said to Abbas bin Abdul-Muttalib, "Abbas, my dear uncle, shall I give you something? Shall I grant you something? Shall I bestow upon you something? Shall I do for you ten things which, if you do them, Allah will forgive you your sins, the first and the last of them, the old and the new, the unintentional and the deliberate, the small and the great, the secret and the open, ten things?You pray four rakahs, reciting in each rakah the Opening of the Book and a surah. When you finish the recitation in the first rakah, say while standing, 'Glory be to Allah, praise be to Allah, there is no god but Allah, and Allah is greatest,' fifteen times. Then bow and say it ten times while bowing. Then raise your head from bowing and say it ten times. Then go down into prostration and say it ten times while prostrating. Then raise your head from prostration and say it ten times. Then prostrate again and say it ten times. Then raise your head from prostration and say it ten times. That is seventy-five in each rakah, and you do this in four rakahs.If you are able to pray it once every day, do so. If you cannot, then once every Friday. If you cannot do that, then once every month. If you cannot do that, then once in your lifetime."
حدثنا عبد الرحمن بن بشر بن الحكم النيسابوري حدثنا موسى بن عبد العزيز حدثنا الحكم بن أبان عن عكرمة
قال رسول الله ﷺ للعباس بن عبد المطلب يا عباس يا عماه ألا أعطيك ألا أمنحك ألا أحبوك ألا أفعل لك عشر خصال إذا أنت فعلت ذلك غفر الله لك ذنبك أوله وآخره وقديمه وحديثه وخطأه وعمده وصغيره وكبيره وسره وعلانيته عشر خصال أن تصلي أربع ركعات تقرأ في كل ركعة بفاتحة الكتاب وسورة فإذا فرغت من القراءة في أول ركعة قلت وأنت قائم سبحان الله والحمد لله ولا إله إلا الله والله أكبر خمس عشرة مرة ثم تركع فتقول وأنت راكع عشرا ثم ترفع رأسك من الركوع فتقولها عشرا ثم تهوي ساجدا فتقولها وأنت ساجد عشرا ثم ترفع رأسك من السجود فتقولها عشرا ثم تسجد فتقولها عشرا ثم ترفع رأسك من السجود فتقولها عشرا فذلك خمسة وسبعون في كل ركعة تفعل في أربع ركعات إن استطعت أن تصليها في كل يوم مرة فافعل فإن لم تستطع ففي كل جمعة مرة فإن لم تفعل ففي كل شهر مرة فإن لم تفعل ففي عمرك مرة
[Its chain of transmission is hasan] Related by Abu Dawud, in "Voluntary Prayers," chapter on the Prayer of Tasbih, no. 1297, from Abdul-Rahman with this wording. Abu Bakr Ajurri, Abu Hasan Maqdisi, and Abu Dawud graded it sahih, while Ibn Hajar and others graded it hasan.