وَنَقَلَ اَلتِّرْمِذِيُّ عَنِ اَلْبُخَارِيِّ تَصْحِيحَهُ 1‏.‏

‏1 ‏- العلل الكبير (1/288)‏.‏

Translation
Narrated 'Ali bin Abi Talib (RA)

Allah's Messenger (ﷺ) said: "If one of you comes to Salat (prayer) and the Imam is at a certain position, he must do as the Imam is doing."[Reported by at-Tirmidhi with a weak chain of narrators].