The Messenger of Allah ﷺ prayed Witr at the beginning of the night and at the end and in the middle. And in the end he settled on praying Witr just before dawn. (Using translation from Aḥmad 653)
مِنْ كُلِّ اللَّيْلِ قَدْ أَوْتَرَ رَسُولُ اللهِ ﷺ مِنْ أَوَّلِهِ وَأَوْسَطِهِ وَآخِرِهِ فَانْتَهَى وَتْرُهُ إِلَى السَّحَرِ فَمَاتَ وَهُوَ يُوتِرُ بِالسَّحَرِ