Mishkat al-Masabih 1226
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: كَانَ تَعْنِي رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَنَامُ أَوَّلَ اللَّيْلِ وَيُحْيِي آخِرَهُ ثُمَّ إِنْ كَانَتْ لَهُ حَاجَةٌ إِلَى أَهْلِهِ قَضَى حَاجَتَهُ ثُمَّ يَنَامُ فَإِنْ كَانَ عِنْدَ النداء الأول جنبا وثب فَأَفَاضَ عَلَيْهِ الماس وَإِنْ لَمْ يَكُنْ جُنُبًا تَوَضَّأَ لِلصَّلَاةِ ثُمَّ صلى رَكْعَتَيْنِ
From ʿAʾishah, may Allah be pleased with her, who said: He — meaning the Messenger of Allah ﷺ — used to sleep in the first part of the night and stay awake in [prayer in] the last part. Then if he had need of his wife, he would fulfil his need, then sleep. If he was in a state of janabah at the first call, he would jump up and pour water over himself; and if he was not in janabah, he would perform wudu for the prayer, then pray two rakʿahs.