Mishkat
al-Masabih
مشكاة المصابيح
Prayer
كتاب الصلاة
Chapter 34a: Encouragement to get up during the Night - Section 1
باب التحريض على قيام الليل - الفصل الأول
Mishkat al-Masabih 1226
‘A’isha said that he, meaning Allah's Messenger ﷺ, would sleep in the early part of the night and keep awake in the latter part. If he then wished intercourse with his wife he satisfied his desire, and then went to sleep. If he was sexually defiled when the first call to prayer was made, he would get up and pour water on it, but if not, he performed the ablution for the prayer and then prayed two rak'as. (Bukhari and Muslim.)
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: كَانَ تَعْنِي رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَنَامُ أَوَّلَ اللَّيْلِ وَيُحْيِي آخِرَهُ ثُمَّ إِنْ كَانَتْ لَهُ حَاجَةٌ إِلَى أَهْلِهِ قَضَى حَاجَتَهُ ثُمَّ يَنَامُ فَإِنْ كَانَ عِنْدَ النداء الأول جنبا وثب فَأَفَاضَ عَلَيْهِ الماس وَإِنْ لَمْ يَكُنْ جُنُبًا تَوَضَّأَ لِلصَّلَاةِ ثُمَّ صلى رَكْعَتَيْنِ "
In-book reference: Mishkat al-Masabih Book 4 Chapter 34a Hadith 1