that when the Messenger of Allah ﷺ would stand for prayer during the middle of the night, he would say: “O Allah, to You is the Praise, You are the Light of the heavens and the earth, and to You is the Praise, You are the Sustainer of the heavens and the earth, and to You is the praise, You are the Lord of the heavens and the earth, and those in them, You are the truth, and Your Promise is the truth, and Your meeting is true, and Paradise is true, and the Fire is true, and the Hour is true, O Allah, to You have I submitted, and in You have I believed , and in You have I relied, and to You have I turned, and by You have I argued, and to You have I referred for judgment. So forgive me what I have done before and after, and that which I have hidden and that which I have done openly. You are my Deity, no has the right to be worshiped but You (Allāhumma lakal-ḥamd, anta nūrus-samāwāti wal-arḍ, wa lakal-ḥamd, anta qayyāmus-samāwāti wal-arḍ, wa lakal-ḥamd, anta rabbus-samāwāti wal-arḍ, wa man fīhinn, antal-ḥaqq, wa waʿdukal-ḥaqq, wa liqā'uka ḥaqq, wal-jannatu ḥaqq, wan-nāru ḥaqq, was-sāʿatu ḥaqq. Allāhumma laka aslamtu, wa bika āmantu, wa ʿalaika tawakkaltu, wa ilaika anabtu, wa bika khāṣamtu, wa ilaika ḥākamtu, faghfirlī mā qaddamtu wa mā akhartu, wa mā asrartu wa mā aʿlant. Anta ilāhī lā ilāha illā ant).”
أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا قَامَ إِلَى الصَّلاَةِ مِنْ جَوْفِ اللَّيْلِ يَقُولُ اللَّهُمَّ لَكَ الْحَمْدُ أَنْتَ نُورُ السَّمَوَاتِ وَالأَرْضِ وَلَكَ الْحَمْدُ أَنْتَ قَيَّامُ السَّمَوَاتِ وَالأَرْضِ وَلَكَ الْحَمْدُ أَنْتَ رَبُّ السَّمَوَاتِ وَالأَرْضِ وَمَنْ فِيهِنَّ أَنْتَ الْحَقُّ وَوَعْدُكَ الْحَقُّ وَلِقَاؤُكَ حَقٌّ وَالْجَنَّةُ حَقٌّ وَالنَّارُ حَقٌّ وَالسَّاعَةُ حَقٌّ اللَّهُمَّ لَكَ أَسْلَمْتُ وَبِكَ آمَنْتُ وَعَلَيْكَ تَوَكَّلْتُ وَإِلَيْكَ أَنَبْتُ وَبِكَ خَاصَمْتُ وَإِلَيْكَ حَاكَمْتُ فَاغْفِرْ لِي مَا قَدَّمْتُ وَمَا أَخَّرْتُ وَمَا أَسْرَرْتُ وَمَا أَعْلَنْتُ أَنْتَ إِلَهِي لاَ إِلَهَ إِلاَّ أَنْتَ قَالَ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ وَقَدْ رُوِيَ مِنْ غَيْرِ وَجْهٍ عَنِ ابْنِ عَبَّاسٍ عَنِ النَّبِيِّ ﷺ