Jabir bin Abdullah reported,

The Messenger of Allah ﷺ was riding a horse in Medina when it threw him onto the trunk of a palm tree, dislocating his foot. We came to visit him and found him in Ayesha's upper chamber, performing voluntary prayer while seated. We stood behind him, and he remained silent toward us.Then we came another time to visit him, and he was praying the obligatory prayer while seated. We stood behind him, but he gestured to us, so we sat down.When he finished the prayer, he said, "When the imam prays seated, then pray seated. When the imam prays standing, then pray standing. Do not do as the Persians do with their great ones."

Abu Dawud 602

Sahih

حدثنا عثمان بن أبي شيبة حدثنا جرير ووكيع عن الأعمش عن أبي سفيان

عن جابر قال

ركب رسول الله ﷺ فرسا بالمدينة فصرعه على جذم نخلة فانفكت قدمه فأتيناه نعوده فوجدناه في مشربة لعائشة يسبح جالسا قال فقمنا خلفه فسكت عنا ثم أتيناه مرة أخرى نعوده فصلى المكتوبة جالسا فقمنا خلفه فأشار إلينا فقعدنا قال فلما قضى الصلاة قال إذا صلى الإمام جالسا فصلوا جلوسا وإذا صلى الإمام قائما فصلوا قياما ولا تفعلوا كما يفعل أهل فارس بعظمائها

أبو داود 602صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Imam praying while sitting
Numbering
Darussalam 602
Abu Dawud 602