Abdullah bin Abbas reported,

I spent the night at the house of my maternal aunt Maymuna bint Harith, the wife of the Prophet ﷺ. It was her night with the Prophet ﷺ, and he was with her. The Prophet ﷺ prayed Isha, then came home and prayed four rakahs, then went to sleep.Later he got up and said, "Has the little boy fallen asleep?" or words to that effect. Then he stood up to pray, and I stood on his left side, but he placed me on his right. He prayed five rakahs, then two more, then slept until I could hear his snoring. Then he went out for the prayer.

Bukhari 117

Sahih

حدثنا آدم قال حدثنا شعبة قال حدثنا الحكم قال سمعت سعيد بن جبير

عن ابن عباس قال

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

البخاري 117صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Knowledge
Chapter
Staying up at night discussing knowledge
Numbering
Darussalam 117
Bukhari 117