He asked Aishah about the prayer of the Messenger of Allah ﷺ at night. She said: "He used to pray thirteen rak'ahs. He would pray eight rak'ahs then pray witr, then pray two rak'ahs sitting down. When he wanted to bow he would stand and bow, and he prayed two rak'ahs between the adhan and iqamah of subh prayer. (Using translation from Nasāʾī 1781)
عَنْ صَلَاةِ رَسُولِ اللَّهِ ﷺ بِاللَّيْلِ فَقَالَتْ كَانَ النَّبِيُّ ﷺ يُصَلِّي ثَلَاثَ عَشْرَةَ رَكْعَةً يُصَلِّي ثَمَانَ رَكَعَاتٍ ثُمَّ يُوتِرُ ثُمَّ يُصَلِّي رَكْعَتَيْنِ وَهُوَ جَالِسٌ فَإِذَا أَرَادَ أَنْ يَرْكَعَ قَامَ فَرَكَعَ وَيُصَلِّي رَكْعَتَيْنِ بَيْنَ النِّدَاءِ وَالْإِقَامَةِ مِنْ صَلَاةِ الصُّبْحِ