مشكوة المصابيح Mishkat al-Masabih كتاب الصلاة The Book of Prayer
(ٱلْمَقْصِدُ ٱلْأَصْلِيُّ مِنْ جَعْلِ ٱلإِمَامِ هُوَ ٱلِٱقْتِدَاءُ بِهِ)

(The main purpose of appointing an imam is to follow him)

1 hadith
Hadith 1139
وَعَنْ أَنَسٍ: أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَكِبَ فَرَسًا فَصُرِعَ عَنْهُ فَجُحِشَ شِقُّهُ الْأَيْمَنُ فَصَلَّى صَلَاةً مِنَ الصَّلَوَاتِ وَهُوَ قَاعِدٌ فَصَلَّيْنَا وَرَاءَهُ قُعُودًا فَلَمَّا انْصَرَفَ قَالَ: «إِنَّمَا جُعِلَ الْإِمَامُ لِيُؤْتَمَّ بِهِ فَإِذَا صَلَّى قَائِما فصلوا قيَاما فَإِذا رَكَعَ فَارْكَعُوا وَإِذَا رَفَعَ فَارْفَعُوا وَإِذَا قَالَ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ فَقُولُوا رَبنَا وَلَك الْحَمد وَإِذا صلى قَائِما فصلوا قيَاما وَإِذَا صَلَّى جَالِسًا فَصَلُّوا جُلُوسًا أَجْمَعُونَ» قَالَ الْحُمَيْدِيُّ: قَوْلُهُ: «إِذَا صَلَّى جَالِسًا فَصَلُّوا جُلُوسًا» هُوَ فِي مَرَضِهِ الْقَدِيمِ ثُمَّ صَلَّى بَعْدَ ذَلِكَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ جَالِسًا وَالنَّاسُ خَلْفَهُ قِيَامٌ لَمْ يَأْمُرْهُمْ بِالْقُعُودِ وَإِنَّمَا يُؤْخَذُ بِالْآخِرِ فَالْآخِرِ مِنْ فِعْلِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ. هَذَا لَفْظُ الْبُخَارِيِّ. وَاتَّفَقَ مُسْلِمٌ إِلَى أَجْمَعُونَ. وَزَادَ فِي رِوَايَةٍ: «فَلَا تختلفوا عَلَيْهِ وَإِذا سجد فاسجدوا»
Anas said God’s Messenger was thrown off a horse he was riding and his right side was grazed. He then prayed one of the prayers sitting and we prayed behind him sitting, and when he finished he said, "The imam is appointed only to be followed; so when he prays standing pray standing, when he bows bow, when he raises himself raise yourselves, when he says ‘God listens to him who praises Him say, ‘Our Lord, to Thee be the praise’, and when he prays sitting all of you pray sitting." Al-Humaidi said that "when he prays sitting pray sitting" was said during his earlier illness.* After that the Prophet prayed sitting while the people behind him were standing, but he did not order them to sit, and it is only the last action of the Prophet that is to be acted upon. * The reference is to his illness at the time when he swore not to go near his wives for a month. This is Bukhari’s wording, and Muslim has the same up to “all of you”. In a version he added, “Do not act differently from him, and prostrate yourselves when he prostrates himself.”
Hadith Reference Mishkat al-Masabih / The Book of Prayer / Hadith: 1139
Hadith Grading الألبانی: مُتَّفق عَلَيْهِ  |  زبیر علی زئی: متفق عليه
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (689) و مسلم (77/ 411) ¤٭ الحميدي ھذا ھو عبد الله بن الزبير: شيخ البخاري و في القول بنسخ ھذا الحديث نظر لأن الجمع ممکن.»