Kurayb reported,

Abdullah bin Abbas reported that he spent one night at the home of Maymunah, the wife of the Prophet ﷺ, who was his maternal aunt.He said, "I lay down across the width of the pillow, while the Messenger of Allah ﷺ and his wife lay along its length. The Messenger of Allah ﷺ slept until the middle of the night, or a little before, or a little after, then he woke up and sat wiping the sleep from his face with his hand. He recited the last ten verses of Surah Al Imran, then went to a hanging waterskin and performed ablution from it, perfecting his ablution, then stood up to pray."Ibn Abbas continued, "I got up and did exactly as he had done, then went and stood beside him. The Messenger of Allah ﷺ placed his right hand on my head and took hold of my right ear, twisting it gently. He prayed two units, then two more, then two more, then two more, then two more, then two more, then prayed witr. Then he lay down until the muadhdhin came to him, at which point he prayed two short units, then went out and prayed the dawn prayer."End.

Azami 2733

Sahih

عن كريب مولى ابن عباس

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

الأعظمي 2733صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Minor actions do not invalidate the prayer
Section
Number of the night prayer of the Messenger of Allah ﷺ and that Witr is from one rakat to nine rakats
Numbering
Jami al-Kamil 2733 (2nd edition)
Azami 2733