The Prophet (ﷺ) used to pray when he was sitting. He would recite while sitting, then when there were thirty or forty verses left, he would stand up and recite while standing, then he bowed and prostrated, then he would do likewise in the second rak'ah.
Reference: Sunan an-Nasa'i 1648 In-book : Book 20, Hadith 51 English translation : Vol. 2, Book 20, Hadith 1649
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.