Question: how much time before fajr is tahajjud?
Answer: No, Tahajjud can be anytime between Ishaa and Fajr, but better it should be in last 1/3 of the night. But you can do it in the last minutes before Fajr. Notice : even if you do Two Rakaat before Fajr it will be counted as Tahajjud.