Messenger of Allah ﷺ used to offer thirteen rakʿat in the night prayer and on hearing the Adhan for the morning prayer, he used to offer two light rakʿat.
كَانَ رَسُولُ اللَّهِ ﷺ يُصَلِّي بِاللَّيْلِ ثَلاَثَ عَشْرَةَ رَكْعَةً ثُمَّ يُصَلِّي إِذَا سَمِعَ النِّدَاءَ بِالصُّبْحِ رَكْعَتَيْنِ خَفِيفَتَيْنِ