Ayesha reported,

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.

Muslim 1705

Sahih

و حدثنا يحيى بن يحيى قال قرأت على مالك عن عبد الله بن يزيد وأبي النضر عن أبي سلمة بن عبد الرحمن

عن عائشة

أن رسول الله ﷺ كان يصلي جالسا فيقرأ وهو جالس فإذا بقي من قراءته قدر ما يكون ثلاثين أو أربعين آية قام فقرأ وهو قائم ثم ركع ثم سجد ثم يفعل في الركعة الثانية مثل ذلك

مسلم 1705صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Permissibility of voluntary prayer standing and sitting, and performing part of a rakat standing and part sitting
Numbering
Darussalam 1705
Muslim 1705