Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) says that when the Messenger of Allah (peace and blessings be upon him) stood at night, he would pray tahajjud.
(b) Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) says that when the Prophet (peace and blessings be upon him) got up at night, he would pray tahajjud and say: 'Allahumma lakal-hamdu, anta nurus-samawati wal-ardi wa man fihinn' (O Allah! All praise is for You; You are the Light of the heavens, the earth and all that is in them). 'Wa lakal-hamdu, anta qayyimus-samawati wal-ardi wa man fihinn' (All praise is for You; You are the Sustainer of the heavens, the earth and all that is in them). 'Wa lakal-hamdu, anta malikus-samawati wal-ardi wa man fihinn, wa lakal-hamd' (All praise is for You; You are the King of the heavens, the earth and all that is in them, and all praise is for You). 'Antal-haqq, wa wa'dukal-haqq, wa liqa'uka haqq, wa qawluka haqq, wal-jannatu haqq, wan-naru haqq, wan-nabiyyuna haqq, wa Muhammadun (peace and blessings be upon him) haqq, was-sa'atu haqq' (You are the Truth, Your promise is true, Your word is true and meeting You is true; Paradise, Hell, the Hour, Muhammad (peace and blessings be upon him) and the prophets are all true). 'Allahumma laka aslamtu, wa bika amantu, wa 'alayka tawakkaltu, wa ilayka anabtu, wa bika khasamtu, wa ilayka hakamtu' (O Allah! To You I have submitted, in You I have believed, in You alone I place my trust, and to You I turn in humility; by You I dispute, and to You I refer for judgement). 'Faghfir li ma qaddamtu wa ma akhkhartu wa ma asrartu wa ma a'lantu' (Forgive me my earlier and later sins, and forgive all that I have committed in secret and openly). 'Antal-muqaddimu wa antal-mu'akhkhiru, la ilaha illa anta, aw la ilaha ghayruk' (You are the One who brings forward and You are the One who puts back; there is no god besides You, or he said: there is no god other than You (a difference in wording)).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4665