I don't know anything that claims that it is makruh to pray after midnight in general; to the best of my knowledge, the ruling you're referring to is specifically for the Isha prayer itself, and that it is makruh to delay that until after midnight. Both Tahajjud and Witr are separate prayers for which that would not apply.


The actual time for Tahajjud Salah is after one wakes up from his/her sleep and the most virtuous time is towards the latter portion of the night. [1] However if one is not able to awaken for the performance of Tahajjud Salah, then he/she should perform Nafl Salah before sleeping.

Only top voted, non community-wiki answers of a minimum length are eligible