Surah Fussilat, ayah 51

41:51

وَإِذَآ أَنۡعَمۡنَا عَلَى ٱلۡإِنسَٰنِ أَعۡرَضَ وَنَـَٔا بِجَانِبِهِۦ وَإِذَا مَسَّهُ ٱلشَّرُّ فَذُو دُعَآءٍ عَرِيضٖ ٥١

Wa idhā an'amnā 'alal-insāni a'rada wana'ā bijānibihī wa idhā massahush-sharru fadhū du'ā'in 'arīd

And when We bestow favor upon man, he turns away and distances himself; but when evil touches him, then he is full of extensive supplication.