حَدَّثَنَا زُهَيْرٌ ، حَدَّثَنَا ابْنُ عُيَيْنَةَ ، عَنْ سُلَيْمَانَ الْأَحْوَلِ ، عَنْ طَاوُسٍ ، عَنِ ابْنِ عَبَّاسٍ قَالَ : كَانَ النَّبِيُّ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - إِذَا قَامَ يَتَهَجَّدُ مِنَ اللَّيْلِ قَالَ : اللَّهُمَّ لَكَ الْحَمْدُ أَنْتَ نُورُ السَّمَاوَاتِ وَالْأَرْضِ وَمَنْ فِيهِنَّ ، وَلَكَ الْحَمْدُ أَنْتَ قَيِّمُ السَّمَاوَاتِ وَالْأَرْضِ وَمَنْ فِيهِنَّ ، وَلَكَ الْحَمْدُ أَنْتَ مَلِكُ السَّمَاوَاتِ وَالْأَرْضِ وَمَنْ فِيهِنَّ ، وَلَكَ الْحَمْدُ أَنْتَ الْحَقُّ ، وَوَعْدُكَ حَقٌّ ، وَلِقَاؤُكَ حَقٌّ ، وَالسَّاعَةُ حَقٌّ ، وَالْجَنَّةُ حَقٌّ ، وَالنَّارُ حَقٌّ ، وَالنَّبِيُّونَ حَقٌّ ، اللَّهُمَّ لَكَ أَسْلَمْتُ ، وَبِكَ آمَنْتُ ، وَعَلَيْكَ تَوَكَّلْتُ ، وَإِلَيْكَ أَنَبْتُ ، وَبِكَ خَاصَمْتُ ، وَإِلَيْكَ حَاكَمْتُ ، فَاغْفِرْ لِي مَا قَدَّمْتُ وَمَا أَخَّرْتُ ، وَمَا أَسْرَرْتُ وَمَا أَعْلَنْتُ ، أَنْتَ الْمُقَدِّمُ وَأَنْتَ الْمُؤَخِّرُ لَا إِلَهَ إِلَّا أَنْتَ ، وَلَا إِلَهَ غَيْرُكَ .
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that when the Prophet (peace and blessings be upon him) rose at night for Tahajjud, he would make this supplication: 'Allahumma laka al-hamd, anta nur al-samawati wa al-ardi wa man fihinna, wa laka al-hamd, anta qayyim al-samawati wa al-ardi wa man fihinna, wa laka al-hamd, anta malik al-samawati wa al-ardi wa man fihinna, wa laka al-hamd, anta al-haqq, wa wa'duka haqq, wa liqa'uka haqq, wa al-sa'atu haqq, wa al-jannatu haqq, wa al-naru haqq, wa al-nabiyyuna haqq. Allahumma laka aslamtu, wa bika amantu, wa 'alayka tawakkaltu, wa ilayka anabtu, wa bika khasamtu, wa ilayka hakamtu, faghfir li ma qaddamtu wa ma akhkhartu, wa ma asrartu wa ma a'lantu. Anta al-muqaddimu wa anta al-mu'akhkhiru, la ilaha illa anta, wa la ilaha ghayruk' (O Allah, to You alone belongs all praise; You are the Light of the heavens, the earth and all the creatures in them. To You alone belongs all praise; You are the Sustainer and Guardian of the heavens, the earth and those who dwell in them. All praise belongs to You alone; You are the true King of the heavens, the earth and all things in them. To You alone belong praise and glorification; You are the Truth, Your promise is true, the meeting with You is true, the coming of the Hour is true, Paradise is true, Hell is true, and all the prophets are true. O Allah, to You alone I submit, in You alone I have believed, in You alone I have put my trust, to You alone I have turned, with Your help alone I have contended (against the opponents of the truth), and You alone I have taken as judge (in my affairs). So forgive me all the sins I committed before and those I committed after, those I committed in secret and those I committed openly. You alone are the One who brings forward (whom You will, by Your grace and justice) and You alone are the One who holds back; there is no god worthy of worship except You, and there is no deity other than You).