Jami` at-Tirmidhi 3397
Grading supplied with this record: Da'if (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ قَالَ حِينَ يَأْوِي إِلَى فِرَاشِهِ أَسْتَغْفِرُ اللَّهَ الْعَظِيمَ الَّذِي لاَ إِلَهَ إِلاَّ هُوَ الْحَىَّ الْقَيُّومَ وَأَتُوبُ إِلَيْهِ . ثَلاَثَ مَرَّاتٍ غَفَرَ اللَّهُ ذُنُوبَهُ وَإِنْ كَانَتْ مِثْلَ زَبَدِ الْبَحْرِ وَإِنْ كَانَتْ عَدَدَ وَرَقِ الشَّجَرِ وَإِنْ كَانَتْ عَدَدَ رَمْلِ عَالِجٍ وَإِنْ كَانَتْ عَدَدَ أَيَّامِ الدُّنْيَا "
Abu Sa`eed (ra) narrated that :
the Prophet (ﷺ) said: “Whoever says, when he goes to his bed: ‘I seek forgiveness from Allah, [the Magnificent] the One whom there is none worthy of worship except for Him, the Living, the Sustainer, and I repent to Him (Astaghfirullāha [al-`Aẓim] alladhi lā ilāha illā huw, al-Ḥayyul-Qayyūm, wa atūbu ilaihi)’ three times, Allah shall forgive him his sins if they were like the foam of the sea, even if they were the number of leaves of the trees, even if they were the number of sand particles of `Alij, even if they were the number of the days of the world.”
Full reference and source
Jami` at-Tirmidhi 3397 In-book : Book 48, Hadith 28 English translation : Vol. 6, Book 45, Hadith 3397
View source on Sunnah.com (opens in a new tab)