The Messenger of Allah ﷺ performed witr at every part of the night, at its beginning, its middle, and its end, but the witr settled at the end of the night.
حدثنا أسود بن عامر وحسين قالا حدثنا إسرائيل عن أبي إسحاق عن الحارث
من كل الليل قد أوتر رسول الله ﷺ من أوله وأوسطه وآخره فثبت الوتر آخر الليل