I prayed behind a Sheikh at Mecca and he said twenty two Takbirs (during the prayer). I told Ibn 'Abbas that he (i.e. that Sheikh) was foolish. Ibn 'Abbas admonished me and said, "This is the tradition of Abu-l-Qasim." And narrated Abu Huraira: Whenever Allah's Apostle stood for the prayer, he said Takbir on starting the prayer and then on bowing. On rising from bowing he said, "Sami' a-l-lahu liman hamida," and then while standing straight he used to say, "Rabbana laka-l hamd" (Al-Laith said, "(The Prophet ﷺ said), 'Walaka-l-hamd'." He used to say Takbir on prostrating and on raising his head from prostration;
again he would Say Takbir on prostrating and raising his head. He would then do the same in the whole of the prayer till it was completed. On rising from the second Rak'a (after sitting for At-Tahiyyat), he used to say Takbir.
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، قَالَ أَخْبَرَنَا هَمَّامٌ، عَنْ قَتَادَةَ، عَنْ عِكْرِمَةَ، قَالَ صَلَّيْتُ خَلْفَ شَيْخٍ بِمَكَّةَ فَكَبَّرَ ثِنْتَيْنِ وَعِشْرِينَ تَكْبِيرَةً، فَقُلْتُ لاِبْنِ عَبَّاسٍ إِنَّهُ أَحْمَقُ. فَقَالَ ثَكِلَتْكَ أُمُّكَ، سُنَّةُ أَبِي الْقَاسِمِ صلى الله عليه وسلم. وَقَالَ مُوسَى حَدَّثَنَا أَبَانُ حَدَّثَنَا قَتَادَةُ حَدَّثَنَا عِكْرِمَةُ.
Sahih al-Bukhari, 789
Sahih al-Bukhari, Vol. 1, Book of Characteristics of Prayer, Hadith 755
Sahih al-Bukhari, Book of Characteristics of Prayer, Hadith 755