Surah Az-Zumar
Az-Zumar 39:49
Ayah 49 of 75
فَإِذَا مَسَّ ٱلۡإِنسَٰنَ ضُرّٞ دَعَانَا ثُمَّ إِذَا خَوَّلۡنَٰهُ نِعۡمَةٗ مِّنَّا قَالَ إِنَّمَآ أُوتِيتُهُۥ عَلَىٰ عِلۡمِۭۚ بَلۡ هِيَ فِتۡنَةٞ وَلَٰكِنَّ أَكۡثَرَهُمۡ لَا يَعۡلَمُونَ
And when adversity touches man, he calls upon Us; then when We bestow on him a favor from Us, he says, "I have only been given it because of [my] knowledge." Rather, it is a trial, but most of them do not know
Transliteration
Faitha massa alinsana durrun daʿana thumma itha khawwalnahu niʿmatan minna qala innama ooteetuhu ʿala ʿilmin bal hiya fitnatun walakinna aktharahum la yaʿlamoona
Read the whole surah from here
Quran text: Tanzil (tanzil.net). Translation: Saheeh International. Recitation: Sheikh Mahmoud Khalil al-Husary.