Quran 27:40
Surah An-Naml, Ayah 40
Gratitude benefits oneself
قَالَ ٱلَّذِى عِندَهُۥ عِلْمٌۭ مِّنَ ٱلْكِتَٰبِ أَنَا۠ ءَاتِيكَ بِهِۦ قَبْلَ أَن يَرْتَدَّ إِلَيْكَ طَرْفُكَ ۚ فَلَمَّا رَءَاهُ مُسْتَقِرًّا عِندَهُۥ قَالَ هَٰذَا مِن فَضْلِ رَبِّى لِيَبْلُوَنِىٓ ءَأَشْكُرُ أَمْ أَكْفُرُ ۖ وَمَن شَكَرَ فَإِنَّمَا يَشْكُرُ لِنَفْسِهِۦ ۖ وَمَن كَفَرَ فَإِنَّ رَبِّى غَنِىٌّۭ كَرِيمٌۭ
Qaalal lazee indahoo 'ilmum minal Kitaabi ana aateeka bihee qabla ai yartadda ilaika tarfuk; falammaa ra aahu mustaqirran 'indahoo qaala haazaa min fadli Rabbee li yabluwaneee 'a-ashkuru am akfuru wa man shakara fa innamaa yashkuru linafsihee wa man kafara fa inna Rabbee Ghaniyyun Kareem
Said one who had knowledge from the Scripture, "I will bring it to you before your glance returns to you." And when [Solomon] saw it placed before him, he said, "This is from the favor of my Lord to test me whether I will be grateful or ungrateful. And whoever is grateful - his gratitude is only for [the benefit of] himself. And whoever is ungrateful - then indeed, my Lord is Free of need and Generous."
The ayat around it
Read in context: the ayat just before and after 27:40 in Surah An-Naml.
قَالَ يَٰٓأَيُّهَا ٱلْمَلَؤُا۟ أَيُّكُمْ يَأْتِينِى بِعَرْشِهَا قَبْلَ أَن يَأْتُونِى مُسْلِمِينَ
Qaala yaaa aiyuhal mala'u aiyukum yaateenee bi'arshihaa qabla ai yaatoonee muslimeen
[Solomon] said, "O assembly [of jinn], which of you will bring me her throne before they come to me in submission?"
قَالَ عِفْرِيتٌۭ مِّنَ ٱلْجِنِّ أَنَا۠ ءَاتِيكَ بِهِۦ قَبْلَ أَن تَقُومَ مِن مَّقَامِكَ ۖ وَإِنِّى عَلَيْهِ لَقَوِىٌّ أَمِينٌۭ
Qaala 'ifreetum minal jinni ana aateeka bihee qabla an taqooma mim maqaamika wa innee 'alaihi laqawiyyun ameen
A powerful one from among the jinn said, "I will bring it to you before you rise from your place, and indeed, I am for this [task] strong and trustworthy."
- 27:40 — the ayah shown above
قَالَ نَكِّرُوا۟ لَهَا عَرْشَهَا نَنظُرْ أَتَهْتَدِىٓ أَمْ تَكُونُ مِنَ ٱلَّذِينَ لَا يَهْتَدُونَ
Qaala nakkiroo lahaa 'arshahaa nanzur atahtadeee am takoonu minal lazeena laa yahtadoon
He said, "Disguise for her her throne; we will see whether she will be guided [to truth] or will be of those who is not guided."
فَلَمَّا جَآءَتْ قِيلَ أَهَٰكَذَا عَرْشُكِ ۖ قَالَتْ كَأَنَّهُۥ هُوَ ۚ وَأُوتِينَا ٱلْعِلْمَ مِن قَبْلِهَا وَكُنَّا مُسْلِمِينَ
Falammaa jaaa'at qeela ahaakaza 'arshuki qaalat kaanna hoo; wa ooteenal 'ilma min qablihaa wa kunnaa muslimeen
So when she arrived, it was said [to her], "Is your throne like this?" She said, "[It is] as though it was it." [Solomon said], "And we were given knowledge before her, and we have been Muslims [in submission to Allah].
About Surah An-Naml
سُورَةُ النَّمۡلِ — Surah An-Naml (“The Ant”) is the 27th surah of the Quran, a Meccan surah of 93 ayahs. Ayah 40 is in juz 19. Read the whole surah.
Ayat on the same theme
In guided journeys
- Dawud and Sulayman: Gratitude in Power, day 6: To test whether I am grateful (An-Naml 27:38–40)
When you reach it in a khatm plan
- Khatm in 30 Days (by Juz): day 19 — Juz 19 — Al-Furqaan, Ash-Shu'araa, An-Naml.
- Khatm in 60 Days: day 38 — Ash-Shu'ara 142–227 · An-Naml 1–64
- Khatm in 90 Days: day 57 — Ash-Shu'ara 207–227 · An-Naml 1–60
- Khatm in a Year: day 231 — An-Naml 36–49
More key ayat from Surah An-Naml
Arabic: the Uthmani Mushaf, shown verbatim. English translation: Sahih International. Transliteration provided for learners. Nothing on this page is AI-generated. This passage is one of the ayat in QuranAI’s Ayah of the Day. All key ayat · Ayat by topic