[Machine] He (referring to the Prophet Muhammad ﷺ) was sitting with a group of his companions, and the Prophet ﷺ said, "O people, don't you know that I am the Messenger of Allah?" They replied, "Yes, we bear witness that you are the Messenger of Allah." He then asked, "Don't you know that Allah has revealed in His Book that whoever obeys me has indeed obeyed Allah?" They replied, "Yes, we bear witness that whoever obeys you has indeed obeyed Allah, and obeying you is a part of obeying Allah." He said, "Obeying Allah means that you obey me, and one of my commands is to obey your leaders, even if they pray while sitting, you should pray while sitting, all of you."
أَنَّهُ كَانَ عِنْدَ النَّبِيِّ ﷺ جَالِسًا فِي نَفَرٍ مِنْ أَصْحَابِهِ فَقَالَ النَّبِيُّ ﷺ «يَا هَؤُلَاءِ أَلَيْسَ تَعْلَمُونَ أَنِّي رَسُولُ اللهِ؟» قَالُوا بَلَى نَشْهَدُ أَنَّكَ رَسُولُ اللهِ قَالَ «أَلَيْسَ تَعْلَمُونَ أَنَّ اللهَ أَنْزَلَ فِي كِتَابِهِ مَنْ أَطَاعَنِي فَقَدْ أَطَاعَ اللهَ؟» فَقَالُوا بَلَى نَشْهَدُ أَنَّهُ مَنْ أَطَاعَكَ فَقَدْ أَطَاعَ اللهَ وَأَنَّ مِنْ طَاعَةِ اللهِ طَاعَتَكَ قَالَ «وَطَاعَةُ اللهِ أَنْ تُطِيعُونِي وَإِنَّ مِنْ طَاعَتِي أَنْ تُطِيعُوا أَئِمَّتَكُمْ وَإِنْ صَلَّوْا قُعُودًا فَصَلُّوا قُعُودًا أَجْمَعِينَ»