Abdullah bin Abbas reported,

Ibn Abbas reported that he spent a night at the home of Maymunah, Umm Muiminin, 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 shortly before, or shortly after. Then he woke up and began wiping the sleep from his face with his hand. He recited the last ten verses of Surah Al Imran, then went to a waterskin hanging there and performed an excellent ablution from it. Then he stood up to pray."Ibn Abbas continued, "I got up and did exactly as the Messenger of Allah ﷺ had done, then I 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 rakahs, then two, then two, then two, then two, then two, then he prayed witr. Afterwards he lay down until the muadhin came. He then stood and prayed two light rakahs, then went out and prayed the Fajr prayer."

Muslim 1789

Sahih

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

ابن عباس

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

مسلم 1789صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Supplication in the night prayer and its standing
Numbering
Darussalam 1789
Muslim 1789