Jami` at-Tirmidhi 3431
Grading supplied with this record: Da'if (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ رَأَى صَاحِبَ بَلاَءٍ فَقَالَ الْحَمْدُ لِلَّهِ الَّذِي عَافَانِي مِمَّا ابْتَلاَكَ بِهِ وَفَضَّلَنِي عَلَى كَثِيرٍ مِمَّنْ خَلَقَ تَفْضِيلاً إِلاَّ عُوفِيَ مِنْ ذَلِكَ الْبَلاَءِ كَائِنًا مَا كَانَ مَا عَاشَ "
Umar narrated that:
The Messenger of Allah (ﷺ) said: “Whoever sees a person afflicted and say: ‘All praise is due to Allah Who saved me from that which He has afflicted you with, and blessed me greatly over many of those whom He has created, (Al-ḥamdulillāhi alladhī `āfānī mimmabtalāka bihī wa faḍḍalanī `alā kathīrin mimman khalaqa tafḍīla)’ then he shall be saved from that affliction for as long as he lives.”
Full reference and source
Jami` at-Tirmidhi 3431 In-book : Book 48, Hadith 62 English translation : Vol. 6, Book 45, Hadith 3431
View source on Sunnah.com (opens in a new tab)