Mishkat al-Masabih 1214
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا اسْتَيْقَظَ مِنَ اللَّيْلِ قَالَ: «لَا إِلَهَ إِلَّا أَنْتَ سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ أَسْتَغْفِرُكَ لِذَنْبِي وَأَسْأَلُكَ رَحْمَتَكَ اللَّهُمَّ زِدْنِي عِلْمًا وَلَا تُزِغْ قَلْبِي بَعْدَ إِذْ هَدَيْتَنِي وَهَبْ لِي مِنْ لَدُنْكَ رَحْمَةً إِنَّكَ أَنْتَ الْوَهَّابُ» . رَوَاهُ أَبُو دَاوُدَ
From ʿAʾishah, may Allah be pleased with her, who said: When the Messenger of Allah ﷺ woke up at night, he would say: "There is no god but You. Glory be to You, O Allah, and with Your praise. I seek Your forgiveness for my sin and I ask You for Your mercy. O Allah, increase me in knowledge, do not let my heart deviate after You have guided me, and grant me mercy from Yourself. Indeed, You are the Bestower." Reported by Abu Dawud.