This hadith has been narrated through another chain of transmitters, but in one of them (these words are found):" The Apostle of Allah (ﷺ) recited four takbirs
Hadith No. 2212
Sahih Muslim