[Machine] That the Messenger of Allah ﷺ rode a horse, and it stumbled and injured its right side. He then performed a prayer for us, while sitting, and we prayed with him while sitting. When he finished, he said: "Verily, the imam has been appointed to be followed, so do not differ from him. When he prays standing, then pray standing, and when he says 'Allahu Akbar', then say 'Allahu Akbar', and when he says 'Sami Allahu liman hamidah', then say 'Rabbana wa lakal hamd', and when he prostrates, then prostrate, and when he prays sitting, then pray sitting, all together." This is an authentic narration in Sahihain from the hadith of Malik and others, narrated by Muslim from Hirmalah from Ibn Wahb, and likewise.
أَنَّ رَسُولَ اللهِ ﷺ رَكِبَ فَرَسًا فَصُرِعَ عَنْهُ فَجُحِشَ شِقُّهُ الْأَيْمَنُ فَصَلَّى لَنَا صَلَاةً مِنَ الصَّلَوَاتِ وَهُوَ جَالِسٌ فَصَلَّيْنَا مَعَهُ جُلُوسًا فَلَمَّا انْصَرَفَ قَالَ إِنَّمَا جُعِلَ الْإِمَامُ لِيُؤْتَمَّ بِهِ فَلَا تَخْتَلِفُوا عَلَيْهِ فَإِذَا صَلَّى قَائِمًا فَصَلُّوا قِيَامًا وَإِذَا كَبَّرَ فَكَبِّرُوا وَإِذَا قَالَ سَمِعَ اللهُ لِمَنْ حَمِدَهُ فَقُولُوا رَبَّنَا وَلَكَ الْحَمْدُ وَإِذَا سَجَدَ فَاسْجُدُوا وَإِذَا صَلَّى قَاعِدًا فَصَلُّوا قُعُودًا أَجْمَعِينَ مَخَرَّجٌ فِي الصَّحِيحَيْنِ مِنْ حَدِيثِ مَالِكٍ وَغَيْرِهِ وَرَوَاهُ مُسْلِمٌ عَنْ حَرْمَلَةَ عَنِ ابْنِ وَهْبٍ وَكَذَلِكَ