´It was narrated from Ibn ‘Umar that the Messenger of Allah (ﷺ) said:` “Whoever unexpectedly comes across a person suffering a calamity, and says: Al-hamdu Lillahil-ladhi ‘afani mim-mabtalaka bihi, wa faddalani ‘ala kathirin mimman khalaqa tafdila (Praise is to Allah Who has kept me safe from that which has afflicted you and preferred me over many of those whom He has created), will be kept safe from that calamity, no matter what it is.’”
Hadith Takhrij«سنن الترمذی/الدعوات 38 ( 3431 ) ، ( تحفة الأشراف : 6787 ، 10528 ) ( حسن ) » ( خارجہ بن مصعب متروک الحدیث اور ابو یحییٰ عمرو بن دینار ضعیف ہیں ، اصل حدیث متابعات و شواہد کی بناء پر حسن ہے ، ملاحظہ ہو : سلسلة الاحادیث الصحیحة ، للالبانی : 602 ، 2737 )