27:40
قَالَ ٱلَّذِی عِندَهُۥ عِلۡمࣱ مِّنَ ٱلۡكِتَـٰبِ أَنَا۠ ءَاتِیكَ بِهِۦ قَبۡلَ أَن یَرۡتَدَّ إِلَیۡكَ طَرۡفُكَۚ فَلَمَّا رَءَاهُ مُسۡتَقِرًّا عِندَهُۥ قَالَ هَـٰذَا مِن فَضۡلِ رَبِّی لِیَبۡلُوَنِیۤ ءَأَشۡكُرُ أَمۡ أَكۡفُرُۖ وَمَن شَكَرَ فَإِنَّمَا یَشۡكُرُ لِنَفۡسِهِۦۖ وَمَن كَفَرَ فَإِنَّ رَبِّی غَنِیࣱّ كَرِیمࣱ ۝٤٠
Al-Muntakhab
But said he who was imbued with spiritual Knowledge of the Scriptures and with some limitless spiritual power conferred on him by Allah. "I will fetch it to you before the time taken in twinkling your eye*" And when he -Sulayman- found -the throne- set right there he prayed: "This is indeed an instance of the grace of Allah conferred on me to test my inclination whether I will propound gratitude or ingratitude. And he who is actuated with the feeling of gratitude and gratefulness, he but serves his own interest and he who sets himself in defiance of Allah must realize that Allah is Ghaniyun (Independent, Absolute, Self-sufficient) and Karimun (Beneficent)"
qāla alladhī ʿindahu ʿil'mun mina l-kitābi anā ātīka bihi qabla an yartadda ilayka ṭarfuka falammā raāhu mus'taqirran ʿindahu qāla hādhā min faḍli rabbī liyabluwanī a-ashkuru am akfuru waman shakara fa-innamā yashkuru linafsihi waman kafara fa-inna rabbī ghaniyyun karīmu