Question: As far as possible, what is the last time for praying Witr?
Answer: The time for praying Witr lasts until the break of dawn (until true dawn appears). The blessed statement of the Prophet ﷺ is:
صلاة الليل مثنی مثنی فإذا خشى أحدكم الصبح صلى ركعة واحدة توتر له ما قد صلى
Reference: Sahih al-Bukhari and Sahih Muslim
“The night prayer (voluntary) is two rak’ahs by two rak’ahs. When any of you fears the morning, let him pray one rak’ah, which will make all that he has prayed into Witr.”