[Machine] The prophet ﷺ taught him words to say when he experienced distress. He would supplicate with the following words: "There is no god but Allah, the Clement and Noble. Glorified is Allah, the Lord of the Great Throne. All praise is due to Allah, the Lord of all worlds." This is incorrect and Ibn Thawban is weak and does not have the authority to support it. The correct hadith is the hadith of Ya'qub.
أَنَّ النَّبِيَّ ﷺ عَلَّمَهُ كَلِمَاتٍ إِذَا نَزَلَ بِهِ كَرْبٌ دَعَا بِهِنَّ «لَا إِلَهَ إِلَّا اللهُ الْحَلِيمُ الْكَرِيمُ سُبْحَانَ اللهِ رَبِّ الْعَرْشِ الْعَظِيمِ الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ» هَذَا خَطَأٌ وابْنُ ثَوْبَانَ ضَعِيفٌ لَا يَقُومُ بِمِثْلِهِ حُجَّةٌ وَالصَّوَابُ حَدِيثُ يَعْقُوبَ