حَدَّثَنَا زُهَيْرٌ ، حَدَّثَنَا مُحَمَّدُ بْنُ خَازِمٍ ، حَدَّثَنَا عُبَيْدُ اللهِ بْنُ الْوَلِيدِ الْوَصَّافِيُّ ، عَنْ عَطِيَّةَ الْعَوْفِيِّ ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ : قَالَ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - : « مَنْ قَالَ حِينَ يَأْوِي إِلَى فِرَاشِهِ : أَسْتَغْفِرُ اللهَ الَّذِي لَا إِلَهَ إِلَّا هُوَ الْحَيَّ الْقَيُّومَ ، - ثَلَاثَ مَرَّاتٍ - وَأَتُوبُ إِلَيْهِ ، كَفَّرَ اللهُ ذُنُوبَهُ وَإِنْ كَانَتْ مِثْلَ زَبَدِ الْبَحْرِ » .
It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever, when coming to his bed to sleep, says this supplication three times: 'Astaghfirullah alladhi la ilaha illa huwa al-Hayy al-Qayyum wa atubu ilayh' (I seek forgiveness from Allah, besides whom there is no true god, the Ever-Living, the Sustainer of all existence, and I repent to Him), Allah Almighty wipes out his sins, even if they are like the foam of the sea."