The Messenger of Allah ﷺ said, "Whoever says when he goes to his bed, 'I seek the forgiveness of Allah, besides whom there is no god, the Ever-Living, the Sustainer, and I turn to Him in repentance,' three times, Allah will forgive his sins even if they were like the foam of the sea, even if they were like the sands of Aalij, and even if they were like the number of leaves on the trees."
حدثنا أبو معاوية حدثنا عبيد الله بن الوليد الوصافي عن عطية العوفي
قال رسول الله ﷺ من قال حين يأوي إلى فراشه أستغفر الله الذي لا إله إلا هو الحي القيوم وأتوب إليه ثلاث مرات غفر الله له ذنوبه وإن كانت مثل زبد البحر وإن كانت مثل رمل عالج وإن كانت مثل عدد ورق الشجر