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 up and recite the rest while standing, then bow, then prostrate. He would do the same in the second rakah.
قال قرأت على عبد الرحمن: مالك عن عبد الله بن يزيد وأبي النضر مولى عمر بن عبيد الله عن أبي سلمة بن عبد الرحمن
أن رسول الله ﷺ كان يصلي جالسا فيقرأ وهو جالس فإذا بقي عليه من قراءته قدر ما يكون ثلاثين أو أربعين آية قام فقرأ وهو قائم ثم ركع ثم سجد ثم يفعل في الركعة الثانية مثل ذلك