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."
Hadith Referenceمسند أبي يعلى الموصلي / من مسند أبي سعيد الخدري / 1339
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده ضعيف . » «قال سعيد بن محمد السناري: منكر» «أخرجه سنن الترمذي برقم: 3397، وأخرجه مسند أحمد برقم: 10690، وأخرجه شرح السنة برقم: 1320، مسند ابویعلیٰ ترقیم الاثری: 1334»