Whoever prays during the early part of the night should make the last of his prayers the witr, for the Messenger of Allah ﷺ used to instruct this.
حدثنا محمد بن بشر حدثنا عبيد الله عن نافع
ومن صلى من أول الليل فليجعل آخر صلاته وترا فإن رسول الله ﷺ كان يأمر بذلك