The Messenger of Allah ﷺ said to Abbas bin Abdul-Muttalib, "Abbas, my dear uncle, shall I not give you something, shall I not grant you something, shall I not bestow upon you something, shall I not do for you ten things which, if you do them, Allah will forgive your sins, the first of them and the last, the old and the new, the unintentional and the deliberate, the small and the great, the hidden and the open. Ten things.You pray four cycles, reciting in each cycle the Opening of the Book and another surah. When you finish the recitation in the first cycle, while still standing, say, '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 the bow 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 and say it ten times. That is seventy-five in each cycle, and you do this in four cycles.If you are able to pray it once every day, then do so. If you cannot, then once every Friday. If you cannot, then once every month. If you cannot, then once every year. If you cannot, then once in your lifetime."
حدثنا عبد الرحمن بن بشر بن الحكم النيسابوري حدثنا موسى بن عبد العزيز حدثنا الحكم بن أبان عن عكرمة
أن رسول الله ﷺ قال للعباس بن عبد المطلب يا عباس يا عماه ألا أعطيك ألا أمنحك ألا أحبوك ألا أفعل بك عشر خصال إذا أنت فعلت ذلك غفر الله لك ذنبك أوله وآخره قديمه وحديثه خطأه وعمده صغيره وكبيره سره وعلانيته عشر خصال أن تصلي أربع ركعات تقرأ في كل ركعة فاتحة الكتاب وسورة فإذا فرغت من القراءة في أول ركعة وأنت قائم قلت سبحان الله والحمد لله ولا إله إلا الله والله أكبر خمس عشرة مرة ثم تركع فتقولها وأنت راكع عشرا ثم ترفع رأسك من الركوع فتقولها عشرا ثم تهوي ساجدا فتقولها وأنت ساجد عشرا ثم ترفع رأسك من السجود فتقولها عشرا ثم تسجد فتقولها عشرا ثم ترفع رأسك فتقولها عشرا فذلك خمس وسبعون في كل ركعة تفعل ذلك في أربع ركعات إن استطعت أن تصليها في كل يوم مرة فافعل فإن لم تفعل ففي كل جمعة مرة فإن لم تفعل ففي كل شهر مرة فإن لم تفعل ففي كل سنة مرة فإن لم تفعل ففي عمرك مرة
Its isnad is hasan. Ibn Majah reported it in the Book of Establishing the Prayers, Chapter on What Has Been Said Concerning the Prayer of Tasbih, hadith 1387, from Abdul-Rahman bin Bishr with this wording. Abu Bakr Ajurri, Abu Dawud, and others graded it sahih. Targhib wa Tarhib, 1/468.