Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever sees someone afflicted and says, 'Praise be to Allah who has spared me from what He has tested you with and has favored me greatly over many of those He has created,' will not be struck by that affliction."

Tirmidhi 3432

Daif

حدثنا أبو جعفر السمناني وغير واحد قالوا حدثنا مطرف بن عبد الله المديني حدثنا عبد الله بن عمر العمري عن سهيل بن أبي صالح عن أبيه

عن أبي هريرة قال

قال رسول الله ﷺ من رأى مبتلى فقال الحمد لله الذي عافاني مما ابتلاك به وفضلني على كثير ممن خلق تفضيلا لم يصبه ذلك البلاء

الترمذي 3432ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Supplications
Chapter
What to say upon seeing an afflicted person
Numbering
Darussalam 3432
Tirmidhi 3432