Mishkat al-Masabih 967
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: مَنْ سَبَّحَ اللَّهَ فِي دُبُرِ كُلِّ صَلَاةٍ ثَلَاثًا وَثَلَاثِينَ وَحَمَدَ اللَّهَ ثَلَاثًا وَثَلَاثِينَ وَكَبَّرَ اللَّهَ ثَلَاثًا وَثَلَاثِينَ فَتِلْكَ تِسْعَةٌ وَتِسْعُونَ وَقَالَ تَمَامَ الْمِائَةِ: لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ غُفِرَتْ خَطَايَاهُ وَإِنْ كَانَتْ مِثْلَ زَبَدِ الْبَحْرِ . رَوَاهُ مُسلم
From Abu Hurayrah, may Allah be pleased with him, who said: The Messenger of Allah ﷺ said: "Whoever glorifies Allah at the end of every prayer thirty-three times, praises Allah thirty-three times and magnifies Allah thirty-three times — that is ninety-nine — and says to complete the hundred: There is no god but Allah alone, with no partner; His is the dominion and His is the praise, and He has power over all things, his sins are forgiven even if they are like the foam of the sea." Reported by Muslim.