[Machine] Some people entered upon the Messenger of Allah ﷺ and they sought permission from him. The time for prayer came, so he prayed with them sitting. They stood up, but he gestured to them to remain seated. When he finished his prayer, he said, "The imam is only appointed to be followed. So when he prays standing, you should pray standing; and when he bows, you should bow; and when he prays sitting, you should pray sitting."
أَنَّ نَاسًا دَخَلُوا عَلَى رَسُولِ اللهِ ﷺ يَعُودُونَهُ فَحَضَرَتِ الصَّلَاةِ فَصَلَّى بِهِمْ جَالِسًا فَقَامُوا فَأَوْمَأَ إِلَيْهِمْ أَنِ اقْعُدُوا فَلَمَّا فَرَغَ مِنْ صَلَاتِهِ قَالَ «إِنَّمَا جُعِلَ الْإِمَامُ لِيُؤْتَمَّ بِهِ فَإِذَا صَلَّى قَائِمًا فَصَلَّوْا قِيَامًا وَإِذَا رَكَعَ فَارْكَعُوا وَإِذَا صَلَّى جَالِسًا فَصَلَّوْا جُلُوسًا»