Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever says, ‘There is no God but Allah, and Allah is the greatest,’ his Lord affirms his truthfulness and he says, ‘There is no God but Me, and I am the greatest.’ When he says, ‘There is no God but Allah alone,’ Allah says, ‘There is no God but Me alone.’ When he says, ‘There is no God but Allah alone, without any partners,’ Allah says, ‘There is no God but Me alone, and I have no partners.’ When he says, ‘There is no God but Allah, to whom belong the dominion and all praise,’ Allah says, ‘There is no God but Me alone, to Me belong the dominion and all praise.’ When he says, ‘There is no God but Allah, and there is no power or might but in Allah,’ Allah says, ‘There is no God but Me, and there is no movement or might but in Me.’ Whoever says them in his illness and then dies, he will never be consumed by the Hellfire.”
Source: Sunan al-Tirmidhī 3430
Grade: Sahih (authentic) according to Al-Tirmidhi
عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ قَالَ لَا إِلَهَ إِلَّا اللَّهُ وَاللَّهُ أَكْبَرُ صَدَّقَهُ رَبُّهُ فَقَالَ لَا إِلَهَ إِلَّا أَنَا وَأَنَا أَكْبَرُ وَإِذَا قَالَ لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ قَالَ يَقُولُ اللَّهُ لَا إِلَهَ إِلَّا أَنَا وَحْدِي وَإِذَا قَالَ لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ قَالَ اللَّهُ لَا إِلَهَ إِلَّا أَنَا وَحْدِي لَا شَرِيكَ لِي وَإِذَا قَالَ لَا إِلَهَ إِلَّا اللَّهُ لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ قَالَ اللَّهُ لَا إِلَهَ إِلَّا أَنَا لِيَ الْمُلْكُ وَلِيَ الْحَمْدُ وَإِذَا قَالَ لَا إِلَهَ إِلَّا اللَّهُ وَلَا حَوْلَ وَلَا قُوَّةَ إِلَّا بِاللَّهِ قَالَ لَا إِلَهَ إِلَّا أَنَا وَلَا حَوْلَ وَلَا قُوَّةَ إِلَّا بِي وَكَانَ يَقُولُ مَنْ قَالَهَا فِي مَرَضِهِ ثُمَّ مَاتَ لَمْ تَطْعَمْهُ النَّارُ
3430 سنن الترمذي كتاب الدعوات باب ما يقول العبد إذا مرض
3430 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الترمذي