The Messenger of Allah ﷺ taught me some words and told me to say them if some distress or hardship befell me: ʿThere is no god but Allah, the Most Generous, the Forbearing, glory be to Him, Blessed be Allah, Lord of the mighty Throne and praise be to Allah the lord of the Worlds.
لَقَّنَنِي رَسُولُ اللهِ ﷺ هَؤُلاءِ الْكَلِمَاتِ وَأَمَرَنِي إِنْ نَزَلَ بِي كَرْبٌ أَوْ شِدَّةٌ أَنْ أَقُولَهُنَّ (لَا إِلَهَ إِلا اللهُ الْكَرِيمُ الْحَلِيمُ سُبْحَانَهُ وَتَبَارَكَ اللهُ رَبُّ الْعَرْشِ الْعَظِيمِ وَالْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ.)