[Machine] "Ali and Abdullah ibn Ja'far used to say: My father, Ali ibn Abi Talib, taught me these words to say during times of distress: 'O son, the Messenger of Allah ﷺ taught me these words to say during times of distress that befall me. I have specified them to you apart from Hasan and Husain.' Abdullah ibn Ja'far would keep these words to himself. But when he married his daughter to Abd al-Malik and they went to Sham, he taught her these words, and we also learned them from him. When she returned and wanted to leave, he went with her. We realized that he was teaching her these words. When he left, I stayed behind, and then I caught up to her. I asked her and she mentioned a word with its meaning. She said: 'O daughter, you are going to a land where you are a stranger. Whenever distress or grief befall you, say these words: 'There is no god but Allah, the Generous, the Forbearing. Blessed be Allah, Lord of the Mighty Throne. All praise is due to Allah, Lord of all the worlds.'' Aban ibn Saleh narrated this Hadith from Abdullah ibn Shaddad ibn al-Had, from Abdullah ibn Ja'far, with the same words."
عَلِيٌّ وَكَانَ عَبْدُ اللهِ بْنُ جَعْفَرٍ يَقُولُ عَلَّمَنِي أَبِي عَلِيُّ بْنُ أَبِي طَالِبٍ كَلِمَاتٍ أَقُولُهُنَّ عِنْدَ الْكَرْبِ إِذَا كَانَ وَيَقُولُ أَيْ بُنَيَّ عَلَّمَنِيهِنَّ رَسُولُ اللهِ ﷺ أَقُولُهُنَّ عِنْدَ الْكَرْبِ إِذَا نَزَلَ بِي لَقَدْ خَصَصْتُكَ بِهِنَّ دُونَ حَسَنٍ وَحُسَيْنٍ قَالَ كَانَ ابْنُ جَعْفَرٍ يَكْتُمُنَاهُنَّ فَلَمَّا زَوَّجَ ابْنَتَهَ تِلْكَ عَبْدَ الْمَلِكِ وَتَوَجَّهَتْ إِلَى الشَّامِ شَيَّعَهَا وَشَيَّعْنَاهَا مَعَهُ فَلَمَّا اسْتَقَلَّتْ وَأَرَادَ أَنْ يَنْصَرِفَ خَلَا بِهَا فَعَرَفْنَا أَنَّهُ يُعَلِّمُهَا إِيَّاهُنَّ فَلَمَّا انْصَرَفَ تَخَلَّفْتُ ثُمَّ أَدْرَكْتُهَا فَسَأَلْتُهَا فَقَالَتْ وَذَكَرَ كَلِمَةً مَعْنَاهَا قَالَ لِي أَيْ بُنَيَّةُ إِنَّكِ تَقْدِمِينَ أَرْضًا أَنْتِ بِهَا غَرِيبَةٌ فَإِذَا نَزَلَ بِكِ كَرْبٌ أَوْ غُمٌّ فَقُولِي هَؤُلَاءِ الْكَلِمَاتِ «لَا إِلَهَ إِلَّا اللهُ الْكَرِيمُ الْحَلِيمُ تَبَارَكَ اللهُ رَبُّ الْعَرْشِ الْعَظِيمُ الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ» قَالَ أَبَانُ بْنُ صَالِحٍ وَحَدَّثَنِي مُحَمَّدُ بْنُ كَعْبٍ الْقُرَظِيُّ عَنْ عَبْدِ اللهِ بْنِ شَدَّادِ بْنِ الْهَادِ عَنْ عَبْدِ اللهِ بْنِ جَعْفَرٍ مِثْلَهُنَّ