Ayesha reported,

The Messenger of Allah ﷺ fell ill, and a group of his companions came in to visit him. The Messenger of Allah ﷺ prayed while sitting, and they prayed behind him standing. He gestured to them to sit down.When he finished, he said, "The imam is appointed only to be followed. When he bows, bow. When he rises, rise. And when he prays sitting, pray sitting."

Azami 2648

Sahih

عن عائشة

اشتكى رسول الله ﷺ، فدخل عليه ناس من أصحابه يعودونه، فصلى رسول الله ﷺ جالسا. فصلوا بصلاته قياما. فأشار إليهم أن اجلسوا. فلما انصرف قال: إنما جعل الإمام ليؤتم به فإذا ركع فاركعوا، وإذا رفع فارفعوا، وإذا صلى جالسا فصلوا جلوسا.

الأعظمي 2648صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Minor actions do not invalidate the prayer
Section
Gesturing in prayer
Numbering
Jami al-Kamil 2648 (2nd edition)
Azami 2648