Sahih Bukhari – Hadith No : 1119

Narrated `Aisha: (the mother of the faithful believers) Allah’s Apostle (in his last days) used to pray sitting. He would recite while sitting, and when thirty or forty verses remained from the recitation he would get up and recite them while standing and then he would bow and prostrate. He used to do the same in the second rak`a. After finishing the Prayer he used to look at me and if I was awake he would talk to me and if I was asleep, he would lie down.

Hadith In Arabic Text :

حدثنا عبد الله بن يوسف، قال أخبرنا مالك، عن عبد الله بن يزيد، وأبي النضر، مولى عمر بن عبيد الله عن أبي سلمة بن عبد الرحمن، عن عائشة أم المؤمنين رضى الله عنها أن رسول الله صلى الله عليه وسلم كان يصلي جالسا فيقرأ وهو جالس، فإذا بقي من قراءته نحو من ثلاثين أو أربعين آية قام فقرأها وهو قائم، ثم يركع ثم يسجد، يفعل في الركعة الثانية مثل ذلك، فإذا قضى صلاته نظر، فإن كنت يقظى تحدث معي، وإن كنت نائمة اضطجع‏.‏

Chapter : Shortening the Prayers (At-Taqseer) – كتاب التقصير