From Sahih Bukhari (Hadith 6310):
Narrated Aisha:The Prophet (ﷺ) used to pray eleven rak`at in the late part of the night, and when dawn appeared, he would offer two rak`at and then lie on his right side till the Muadhdhin came to inform him (that the morning prayer was due)
Reference: Bukhari 6310