[Machine] The Messenger of Allah ﷺ used to pray ten Rak'ahs at night and he would perform Witr with a prostration, and he would perform two prostrations for Fajr, so that makes thirteen Rak'ahs.
كَانَ رَسُولُ اللهِ ﷺ يُصَلِّي مِنَ اللَّيْلِ عَشْرَ رَكَعَاتٍ وَيُوتِرُ بِسَجْدَةٍ وَيَسْجُدُ سَجْدَتَيْنِ لِلْفَجْرِ فَتِلْكَ ثَلَاثَ عَشْرَةَ رَكْعَةً