Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:420-385bIbn ʿAbbās
Request/Fix translation

  

السيوطي:٤٢٠-٣٨٥b

"عَنِ ابْنِ عَبَّاس أَنَّ رَسُولَ الله ﷺ أَخَذَ بِعُضَادَتَىْ بَابِهِ وَنَحْنُ فِى البَيْت، فَقَالَ: يَا بَنِى عَبْد المُطَّلِبِ؛ فِيكُمْ أَحَدٌ مِنْ غَيْرِكُمْ؟ قَالُوا: ابْنُ أُخْتٍ لَنَا، قَالَ: ابْن أُختِ القَوْم مِنْهُمْ، ثُمَّ قَالَ: يَا بَنِى عَبْدِ المُطَّلِبِ، إِذَا نَزَلَ بِكُمْ كَرْبٌ أوْ جَهْدٌ أوْ لأوَاءُ فَقُولُوا: الله الله لاَ شَريكَ لَهُ".  

ابن جرير

See similar narrations below:

Collected by Ṭabarānī
tabarani:12788ʿAlī b. ʿAbd al-ʿAzīz > ʿUbaydullāh b. Muḥammad al-Taymī > Ṣāliḥ b. ʿAbdullāh Abū Yaḥyá > ʿAmr b. Mālik al-Nukrī > Abū al-Jawzāʾ > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ took hold of a staff near the door while we were in the house, and he said, "O sons of Abd al-Muttalib, is there anyone among you besides yourselves?" They said, "There is the son of our sister." He said, "The son of the relatives is from the people." Then he said, "O sons of Abd al-Muttalib, when affliction, hardship, fatigue, or distress comes upon you, say: Allah, Allah, our Lord, He has no partner."  

الطبراني:١٢٧٨٨حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا عُبَيْدُ اللهِ بْنُ مُحَمَّدٍ التَّيْمِيُّ ثنا صَالِحُ بْنُ عَبْدِ اللهِ أَبُو يَحْيَى عَنْ عَمْرِو بْنِ مَالِكٍ النُّكْرِيِّ عَنْ أَبِي الْجَوْزَاءِ عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللهِ ﷺ أَخَذَ بِعِضَادَتَيِ الْبَابِ وَنَحْنُ فِي الْبَيْتِ فَقَالَ «يَا بَنِي عَبْدِ الْمُطَّلِبِ هَلْ فِيكُمْ أَحَدٌ مِنْ غَيْرِكُمْ؟» قَالُوا ابْنُ أُخْتٍ لَنَا فَقَالَ «ابْنُ أُخْتِ الْقَوْمِ مِنْهُمْ» ثُمَّ قَالَ «يَا بَنِي عَبْدِ الْمُطَّلِبِ إِذَا نَزَلَ بِكُمْ كَرْبٌ أَوْ حُمَةٌ أَوْ جَهْدٌ أَوْ لَأْوَاءٌ فَقُولُوا اللهُ اللهُ رَبُّنَا لَا شَرِيكَ لَهُ»