The Messenger of Allah ﷺ used to pray while seated, reciting in that position. When about thirty or forty verses of his recitation remained, he would stand and recite while standing, then bow and prostrate. He would do the same in the second rakah.
و حدثنا يحيى بن يحيى قال قرأت على مالك عن عبد الله بن يزيد وأبي النضر عن أبي سلمة بن عبد الرحمن
أن رسول الله ﷺ كان يصلي جالسا فيقرأ وهو جالس فإذا بقي من قراءته قدر ما يكون ثلاثين أو أربعين آية قام فقرأ وهو قائم ثم ركع ثم سجد ثم يفعل في الركعة الثانية مثل ذلك