Tafsir of verse 40
Al-Mukhtasar
A pious knowledgeable man in the presence of Solomon who had knowledge of the scripture, part of which was the greatest name of Allah which Allah accepts prayers when supplicated through, said: “I shall bring her throne to you before your glance returns to you, by praying to Allah to bring it”. So he prayed, and Allah answered his prayer. When Solomon saw her throne placed before him, he said: “This is from the grace of my Lord, to test me whether I am grateful for his favours or ungrateful? Whoever is grateful to Allah, the benefit of his gratefulness will only return to him, because Allah is self sufficient, in no need of anything, is not benefitted or harmed by the gratefulness of His servants. And whoever rejects the favours of Allah and does not thank Him for them, my Lord is self-sufficient, in no need of being shown gratitude, and Generous. Part of His generosity is granting those who deny them”.
Tafsir of the whole Surah An-Naml
Other translations of verse 40
But the one who had some knowledge of the scripture10 said, “I will bring it to you in the blink of your eye.” When he saw it placed before him, he said, “This is a favor of my Lord, to test me whether I will be grateful or ungrateful. Whoever is grateful, it is only for his own good; and whoever is ungrateful, then my Lord is Self-Sufficient, Most Generous.”
Notes
[10] i.e., A man of righteousness and knowledge of the scripture who also knew Allah's Magnificent Name (Al-’Ism Al-‘Azam), by Which if supplication was made would be answered.
One with whom was knowledge of the Scripture said: "I will bring it to you within the twinkling of an eye!" Then when he [Sulaimân (Solomon)] saw it placed before him, he said: "This is by the Grace of my Lord - to test me whether I am grateful or ungrateful! And whoever is grateful, truly, his gratitude is for (the good of) his ownself; and whoever is ungrateful, (he is ungrateful only for the loss of his ownself). Certainly my Lord is Rich (Free of all needs), Bountiful."
One with whom was knowledge of the Scripture said: I will bring it thee before thy gaze returneth unto thee. And when he saw it set in his presence, (Solomon) said: This is of the bounty of my Lord, that He may try me whether I give thanks or am ungrateful. Whosoever giveth thanks he only giveth thanks for (the good of) his own soul; and whosoever is ungrateful (is ungrateful only to his own soul's hurt). For lo! my Lord is Absolute in independence, Bountiful.
Said one who had knowledge of the Book: "I will bring it to thee within the twinkling of an eye!" Then when (Solomon) saw it placed firmly before him, he said: "This is by the Grace of my Lord!- to test me whether I am grateful or ungrateful! and if any is grateful, truly his gratitude is (a gain) for his own soul; but if any is ungrateful, truly my Lord is Free of all Needs, Supreme in Honour !"
One who had the knowledge of the Book said: I will bring it to you in the twinkling of an eye. Then when he saw it settled beside him, he said: This is of the grace of my Lord that He may try me whether I am grateful or ungrateful; and whoever is grateful, he is grateful only for his own soul, and whoever is ungrateful, then surely my Lord is Self-sufficient, Honored.
Said he in whose presence was knowledge of the Book, "I will come up with it (i.e., bring) to you before your glance returns on you." (i.e., in the twinkling of an eye) Then, as soon as he saw it secured in position in his presence, he (Sulayman) said, "This is of the Grace of my Lord that He may try me, whether I thank (Him) or be ungrateful. And whoever thanks (Him), then surely he thanks only for his (own) self, and whoever is ungrateful, (Or: whoever disbelieves) then surely my Lord is Ever-Affluent, (Literally: Ever-Wealthy, Ever-Rich) Ever-Honorable."