From the Qur’an:
39:8 When some trouble touches man, he cries to his Lord,
turning to Him in repentance: but when He bestows a favour
upon him as from Himself, (man) forgets what he cried and
prayed for before, and sets up partners to Allah, thus
misleading others from Allah’s Path. Say, “Enjoy your blasphemy
for a little while: verily you are (one) of the Companions of
the Fire!” 39:8
[Lessons from this verse] We normally reserve turning in
repentance to when troubled times come upon us. No, we are
equally commanded to turn in repentance when the mercy of
Allah is showered upon us, because that is the time so many
people attribute that mercy to other then Allah.
With best wishes to see you succeed at the highest level!
– Muhammad Alshareef
Subhanallah, I saw this quote from a sister who was diagnosed with cancer, and recently passed away. She writes, in regard to this ayah:
It is not a triumph to return to, and remember Allah (SWT) when we are facing trouble. That is a natural reaction that any person who knows his end will experience. The triumph is in constantly turning to Allah (SWT), and remembering Him both when we are in trouble, and when we forget that we are never safe.