فَإِذَا مَسَّ ٱلۡإِنسَٰنَ ضُرٌّ دَعَانَا ثُمَّ إِذَا خَوَّلۡنَٰهُ نِعۡمَةً مِّنَّا قَالَ إِنَّمَآ أُوتِيتُهُۥ عَلَىٰ عِلۡمٍ ۚ بَلۡ هِىَ فِتۡنَةٌ وَلَٰكِنَّ أَكۡثَرَهُمۡ لَا يَعۡلَمُونَ
Now, when trouble touches man, he cries to Us: But when We bestow a favour upon him as from Ourselves, he says, "This has been given to me because of a certain knowledge (I have)!" Nay, but this is but a trial, but most of them understand not!<br/>
So when some distress befalls man (al-insaan, here a generic), he supplicates Us. Then, when We bestow on him a grace from Us, he says, 'I was given it merely by force of knowledge', from God that I was deserving of it. Nay, but it, this saying, is a trial, a test by which servants are tested. But most of them do not know, that such bestowal [of grace] is a way of drawing [them] on and a test [of their faith].