[Machine] When the Prophet ﷺ fell ill, his companions entered to visit him. They were trying to heal him, so he signaled to them to sit down. When he finished his prayer, the imam instructed them to follow his actions. When he said the takbir, they should say it as well. When he performed the ruku', they should also bow down. When he prayed while sitting, they should pray while sitting. And when he prayed while standing, they should pray while standing.
لَمَّا مَرِضَ النَّبِيُّ ﷺ دَخَلَ عَلَيْهِ أَصْحَابُهُ يَعُودُونَهُ فَقَامُوا فَأَوْمَأَ إِلَيْهِمْ أَنِ اقْعُدُوا فَلَمَّا قَضَى صَلَاتَهُ قَالَ الْإِمَامُ يُؤْتَمُّ بِهِ فَإِذَا كَبَّرَ فَكَبِّرُوا وَإِذَا رَكَعَ فَارْكَعُوا وَإِذَا صَلَّى قَاعِدًا فَصَلُّوا قُعُودًا وَإِذَا صَلَّى قَائِمًا فَصَلُّوا قِيَامًا