The Messenger of Allah ﷺ used to pray ten rak'ahs during the night, and would observe the witr with one rak'ah, he then prayed two rak'ahs of the dawn prayer. Thus he prayed thirteen rak'ahs in all.
كَانَ رَسُولُ اللَّهِ ﷺ يُصَلِّي مِنَ اللَّيْلِ عَشْرَ رَكَعَاتٍ وَيُوتِرُ بِسَجْدَةٍ وَيَسْجُدُ سَجْدَتَىِ الْفَجْرِ فَذَلِكَ ثَلاَثَ عَشْرَةَ رَكْعَةً