Al-Hasan said: When you have prayed the Fajr prayer and the sun has risen, the time of witr has passed.