Alḥamdu-lillāhi-l-ladhī ʿāfānī mim-mabtalāka bihī wa faḍḍalanī ʿalā kathīrim-mim-man khalaqa tafḍīlā.
All praise is for Allah who saved me from that which He has afflicted you with, and blessed me greatly over many of His creation.
ʿUmar (raḍiy Allāhu ʿanhu) narrated that the Messenger of Allah ﷺ said: “Whoever sees an afflicted person and then says [the above], he shall not be struck by that affliction for as long as he lives.” (Tirmidhī 3431)
When One Sees an Afflicted Person
اَلْحَمْدُ لِلّٰهِ الَّذِيْ عَافَانِيْ مِمَّا ابْتَلَاكَ بِهِ ، وَفَضَّلَنِيْ عَلَىٰ كَثِيْرٍ مِمَّنْ خَلَقَ تَفْضِيْلًا.
Alḥamdu-lillāhi-l-ladhī ʿāfānī mim-mabtalāka bihī wa faḍḍalanī ʿalā kathīrim-mim-man khalaqa tafḍīlā.
All praise is for Allah who saved me from that which He has afflicted you with, and blessed me greatly over many of His creation.
ʿUmar (raḍiy Allāhu ʿanhu) narrated that the Messenger of Allah ﷺ said: “Whoever sees an afflicted person and then says [the above], he shall not be struck by that affliction for as long as he lives.” (Tirmidhī 3431)
One should say this discreetly.
As I am currently going through perhaps the most stressful period in my life till date, this resonated with me on so many levels.