Jabir bin Abdullah reported,

The Messenger of Allah ﷺ fell ill, so we prayed behind him while he was sitting, and Abu Bakr was relaying his takbeer to the people. He turned toward us and saw us standing, so he gestured to us and we sat down, and we prayed his prayer sitting.When he gave the salam, he said, "You were just now about to do what the Persians and Romans do, standing over their kings while they sit. Do not do that. Follow your imams. If he prays standing, then pray standing, and if he prays sitting, then pray sitting."

Azami 1231

Sahih

عن جابر قال

اشتكي رسول الله ﷺ فصلينا وراءه، وهو قاعد، وأبو بكر يسمع الناس تكبيره، فالتفت إلينا فرآنا قياما، فأشار إلينا فقعدنا، فصلينا بصلاته قعودا، فلما سلم قال: إن كذتم آنفا لتفعلوا فعل فارس والروم يقومون على ملوكهم وهم قعود فلا تفعلوا، ائتموا بأئمتكم، إن صلى قائما فصلوا قياما، وإن صلى قاعدا فصلوا قعودا.

الأعظمي 1231صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Knowledge
Chapter
Encouragement to seek knowledge
Section
Those who disliked that people stand for them out of reverence, fearing pride
Numbering
Jami al-Kamil 1231 (2nd edition)
Azami 1231