I asked Ayesha about the voluntary prayers of the Messenger of Allah ﷺ.She said, "He used to pray four rakats before the noon prayer in my house, then he would go out and lead the people in prayer, then return to my house and pray two rakats. He would lead the people in the sunset prayer, then return to my house and pray two rakats. He would lead them in the night prayer, then enter my house and pray two rakats. During the night he would pray nine rakats, including the witr. He would spend long portions of the night praying standing and long portions praying seated. When he recited while standing, he would bow and prostrate from the standing position, and when he recited while seated, he would bow and prostrate from the seated position. When dawn broke, he would pray two rakats, then go out and lead the people in the dawn prayer ﷺ."
حدثنا أحمد بن حنبل حدثنا هشيم أخبرنا خالد ح و حدثنا مسدد حدثنا يزيد بن زريع حدثنا خالد المعنى
سألت عائشة عن صلاة رسول الله ﷺ من التطوع فقالت كان يصلي قبل الظهر أربعا في بيتي ثم يخرج فيصلي بالناس ثم يرجع إلى بيتي فيصلي ركعتين وكان يصلي بالناس المغرب ثم يرجع إلى بيتي فيصلي ركعتين وكان يصلي بهم العشاء ثم يدخل بيتي فيصلي ركعتين وكان يصلي من الليل تسع ركعات فيهن الوتر وكان يصلي ليلا طويلا قائما وليلا طويلا جالسا فإذا قرأ وهو قائم ركع وسجد وهو قائم وإذا قرأ وهو قاعد ركع وسجد وهو قاعد وكان إذا طلع الفجر صلى ركعتين ثم يخرج فيصلي بالناس صلاة الفجر ﷺ
Muslim reported it in "The Book of the Prayer of Travelers, chapter on the permissibility of praying voluntary prayers standing or sitting... etc.," hadith no. 730, and Ibn Majah, hadith no. 1164, from the hadith of Hushaym bin Bashir with the same chain.