The Messenger of Allah ﷺ prayed Witr at all times of the night, at the beginning, in the middle and at the end. Then in the end his Witr was at the end of the night.
مِنْ كُلِّ اللَّيْلِ قَدْ أَوْتَرَ رَسُولُ اللهِ ﷺ مِنْ أَوَّلِهِ وَأَوْسَطِهِ وَآخِرِهِ وَانْتَهَى وِتْرُهُ إِلَى آخِرِ اللَّيْلِ