Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “Whoever says when he retires to his bed, ‘There is no God but Allah alone without any partners, to Him belong the dominion and praise and He is powerful over all things, there is no movement or might but in Allah, glory be to Allah and all praise is due to Allah, there is not God but Allah, and Allah is the greatest,’ then Allah will forgive his sins even if they were like the foam of the sea.”
Source: Ṣaḥīḥ Ibn Ḥibbān 5568
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلى الله عَلَيه وسَلم قَالَ مَنْ قَالَ حِينَ يَأْوِي إِلَى فِرَاشِهِ لَا إِلَهَ إِلَاّ اللهُ وَحْدَهُ لَا شَرِيكَ لَهُ لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ لَا حَوْلَ وَلَا قُوَّةَ إِلَاّ بِاللهِ سُبْحَانَ اللهِ وَالْحَمْدُ للهِ وَلَا إِلَهَ إِلَاّ اللهُ وَاللهُ أَكْبَرُ غَفَرَ اللهُ له ذُنُوبَهُ وَإِنْ كَانَ مِثْلَ زَبَدِ الْبَحْرِ
5568 صحيح ابن حبان ذكر الشيء الذي يغفر الله ذنوب قائله به إذا أوى إلى فراشه
3414 المحدث الألباني خلاصة حكم المحدث إسناده صحيح في السلسلة الصحيحة