This is the dua the Prophet recited when waking for night prayer. If you wake at midnight — whether for Tahajjud or by chance — greet the night with this praise of Allah the Sustainer of all existence.