قَالَ الَّذِىۡ عِنۡدَهٗ عِلۡمٌ مِّنَ الۡـكِتٰبِ اَنَا اٰتِيۡكَ بِهٖ قَبۡلَ اَنۡ يَّرۡتَدَّ اِلَيۡكَ طَرۡفُكَؕ فَلَمَّا رَاٰهُ مُسۡتَقِرًّا عِنۡدَهٗ قَالَ هٰذَا مِنۡ فَضۡلِ رَبِّىۡۖ لِيَبۡلُوَنِىۡٓ ءَاَشۡكُرُ اَمۡ اَكۡفُرُؕ وَمَنۡ شَكَرَ فَاِنَّمَا يَشۡكُرُ لِنَفۡسِهٖۚ وَمَنۡ كَفَرَ فَاِنَّ رَبِّىۡ غَنِىٌّ كَرِيۡمٌ
Then the one who had some knowledge of the (heavenly) Book submitted: ‘I can bring it to you before your vision turns back to you (i.e. even before the twinkling of an eye). So, when (Sulaiman [Solomon]) saw it (the throne) placed before him, he said: ‘This is by the Grace of my Lord so that He may put me to the test whether I thank (Him) or not. And he who thanks (Allah) his gratitude is for the good of his own self, and he who is ungrateful surely my Lord is Self-Sufficient, Most Generous.’