Bulugh al-Maram #428 · The Book of Prayer

Bulugh al-MaramAli ibn Abi Talib
Bulugh al-Maram · Book 2 · The Book of Prayer
Bulugh al-Maram · كتاب 2 · كتاب الصلاة
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].
وَعَنْ عَلِيٍّ - رضى الله
عنه - قَالَ: قَالَ اَلنَّبِيُّ - صلى الله عليه وسلم -{ إِذَا أَتَى أَحَدُكُمْ اَلصَّلَاةَ وَالْإِمَامُ عَلَى حَالٍ, فَلْيَصْنَعْ كَمَا يَصْنَعُ اَلْإِمَامُ } رَوَاهُ اَلتِّرْمِذِيُّ بِإِسْنَادٍ ضَعِيفٍ..
Reference : Bulugh al-Maram 428In-book reference : Book 2, Hadith 331