Mishkat al-Masabih 966
وَعَنْ كَعْبِ بْنِ عُجْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: مُعَقِّبَاتٌ لَا يَخِيبُ قَائِلُهُنَّ أَوْ فَاعِلُهُنَّ دُبُرَ كُلِّ صَلَاةٍ مَكْتُوبَة: ثَلَاث وَثَلَاثُونَ تَسْبِيحَة ثَلَاث وَثَلَاثُونَ تَحْمِيدَةً وَأَرْبَعٌ وَثَلَاثُونَ تَكْبِيرَةً . رَوَاهُ مُسْلِمٌ
From Kaʿb ibn ʿUjrah, who said: The Messenger of Allah ﷺ said: "[There are] words following [the prayer] whose sayer — or doer — will not be disappointed, at the end of every obligatory prayer: thirty-three tasbihs, thirty-three tahmids and thirty-four takbirs." Reported by Muslim.