It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The imam has been appointed only to be followed, so do not differ from him in his actions. When he says the takbir, you say the takbir; when he bows, you bow; when he says 'Sami'a Allahu liman hamidah' (Allah has heard the one who praised Him), you say 'Rabbana laka al-hamd' (Our Lord, to You belongs all praise); when he prostrates, you prostrate; and if he prays sitting, then all of you together pray sitting as well."
Hadith Referenceمسند أبي يعلى الموصلي / تابع مسند أبي هريرة رضي الله عنه / 6326
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده حسن . » «قال سعيد بن محمد السناري: صحيح» «أخرجه البخارى [701]، ومسلم [414]، وابن حبان [2107]، والبيهقى في "سننه" [4851]، وأبو عوانة [رقم 1628]، وأبو القاسم الجوهرى في "مسند الموطأ" [رقم 524]، وأبو نعيم في "المستخرج على مسلم" [رقم 923]، وغيرهم، مسند ابویعلیٰ ترقیم الاثری: 6296»