[Machine] The Messenger of Allah ﷺ prayed while sitting down, and there were people standing behind him. He gestured to them to sit down, and when he finished his prayer, he said, "The imam has been appointed to be followed, so when he bows, you all should bow, and when he raises, you all should raise, and when he prays while sitting, you all should pray while sitting."
رَسُولَ اللهِ ﷺ صَلَّى فِي مَرَضِهِ وَهُوَ جَالِسٌ وَخَلْفَهُ قِيَامٌ فَأَشَارَ إِلَيْهِمْ أَنِ اجْلِسُوا فَلَمَّا قَضَى صَلَاتَهُ قَالَ إِنَّمَا جُعِلَ الْإِمَامُ لِيُؤْتَمَّ بِهِ فَإِذَا رَكَعَ فَارْكَعُوا وَإِذَا رَفَعَ فَارْفَعُوا وَإِذَا صَلَّى جَالِسًا فَصَلُّوا جُلُوسًا