The night prayer of the Messenger of Allah ﷺ consisted of ten units. He would then pray witr with a single prostration and pray the two units of Fajr, making thirteen units in total.
حدثنا ابن نمير حدثنا أبي حدثنا حنظلة عن القاسم بن محمد قال سمعت
كانت صلاة رسول الله ﷺ من الليل عشر ركعات ويوتر بسجدة ويركع ركعتي الفجر فتلك ثلاث عشرة ركعة