Although it is better to offer the Tahajjud prayer late at night, it is not mandatory. You can choose a time that is convenient for you, whether it is before Fajr prayer or in the last third of the night. The main thing is to dedicate a part of the night to additional voluntary prayers and supplications.