TABARANI 12788:
from 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."
الطبراني ١٢٧٨٨:
عن ابن عباس —
أَنَّ رَسُولَ اللهِ ﷺ أَخَذَ بِعِضَادَتَيِ الْبَابِ وَنَحْنُ فِي الْبَيْتِ فَقَالَ «يَا بَنِي عَبْدِ الْمُطَّلِبِ هَلْ فِيكُمْ أَحَدٌ مِنْ غَيْرِكُمْ؟» قَالُوا ابْنُ أُخْتٍ لَنَا فَقَالَ «ابْنُ أُخْتِ الْقَوْمِ مِنْهُمْ» ثُمَّ قَالَ «يَا بَنِي عَبْدِ الْمُطَّلِبِ إِذَا نَزَلَ بِكُمْ كَرْبٌ أَوْ حُمَةٌ أَوْ جَهْدٌ أَوْ لَأْوَاءٌ فَقُولُوا اللهُ اللهُ رَبُّنَا لَا شَرِيكَ لَهُ»
hadithunlocked.com