Prayer and worship

Sulayman’s Dua: Asking Allah for Gratitude Itself

Hearing an ant speak, Sulayman smiled and asked Allah to inspire him to be thankful. Why even gratitude is a gift you have to ask for (an-Naml 27:19).

An-Naml 27:18–19Prayer and worshipAll articlesSurah An-Naml on the map

حَتَّىٰٓ إِذَآ أَتَوْا۟ عَلَىٰ وَادِ ٱلنَّمْلِ قَالَتْ نَمْلَةٌ يَـٰٓأَيُّهَا ٱلنَّمْلُ ٱدْخُلُوا۟ مَسَـٰكِنَكُمْ لَا يَحْطِمَنَّكُمْ سُلَيْمَـٰنُ وَجُنُودُهُۥ وَهُمْ لَا يَشْعُرُونَ ﴿18﴾ فَتَبَسَّمَ ضَاحِكًا مِّن قَوْلِهَا وَقَالَ رَبِّ أَوْزِعْنِىٓ أَنْ أَشْكُرَ نِعْمَتَكَ ٱلَّتِىٓ أَنْعَمْتَ عَلَىَّ وَعَلَىٰ وَٰلِدَىَّ وَأَنْ أَعْمَلَ صَـٰلِحًا تَرْضَىٰهُ وَأَدْخِلْنِى بِرَحْمَتِكَ فِى عِبَادِكَ ٱلصَّـٰلِحِينَ ﴿19﴾

18 Till, when they reached the Valley of the Ants, an ant exclaimed: O ants! Enter your dwellings lest Solomon and his armies crush you, unperceiving. 19 And (Solomon) smiled, laughing at her speech, and said: My Lord, arouse me to be thankful for Thy favour wherewith Thou hast favoured me and my parents, and to do good that shall be pleasing unto Thee, and include me in (the number of) Thy righteous slaves.

An-Naml 27:18–19 on Quran.com · Pickthall’s translation

Surah an-Naml takes its name from a tiny moment. Sulayman, peace be upon him, is marching with an army Allah gathered for him: jinn, people and birds, all set in perfect order (an-Naml 27:17). Elsewhere the Quran tells us he was also given the wind (al-Anbiya 21:81). Then the army reaches a valley of ants, and one ant calls out to the rest: go into your homes, so Sulayman and his armies do not crush you without knowing it (an-Naml 27:18). Allah Himself chose to tell us what an ant said. He knows every one of His creatures, even the ones we never think about as we go about our own needs.

Sulayman hears it. Allah had given him the ability to understand the ant’s worry, and the next verse says he smiled, laughing at her words (an-Naml 27:19). Picture it: a king with an enormous army, stopped in his tracks by the concern of a creature smaller than a fingernail. He is in awe, and he feels the joy of a favour Allah has given him. What does a true servant do when he suddenly feels Allah’s blessings? The verse answers straight away. The smile turns into a dua.

He says: My Lord, inspire me to be thankful for Your favour which You have given me and my parents (an-Naml 27:19). Notice what he does not say. He does not only say “thank You, Allah.” He asks Allah to keep pushing him to be thankful. It is one thing to enjoy a blessing and say alhamdulillah. It is a step further to realise that the very ability to notice a blessing, and to thank Allah for it, is itself a gift from Allah. So he asks for that gift to keep coming.

This matters more than it first appears. We often hear “just be grateful and you’ll feel better,” as if gratitude were a switch anyone can flip. It is not that simple, especially when something else is weighing on a person. Being grateful in a way that actually brings contentment is a favour Allah gives. That is why it is something to ask Him for, not just something to demand of yourself. If you are struggling, the guide’s page on faith and mental health is a gentle place to start.

There is a second lesson in the setting. Allah has just listed huge favours on Sulayman, and the weight of them leads him to this dua. The more Allah gives you, the more you need gratitude. Blessings without gratitude can turn into arrogance. You start to think your success comes from your own effort and skill, and you forget that your talent and ability were given to you. Sulayman had armies, the wind and the speech of animals. His answer was to ask for more thankfulness, so that the gifts would not ruin him.

Then he widens the dua. He thanks Allah for favours on his parents too, not only on himself. He asks: and that I may do good that pleases You. Finally: admit me, by Your mercy, among Your righteous servants. That is the goal the whole dua is moving towards. Gratitude comes first, then good deeds that please Allah, then a place among the righteous, and even that is reached only by His mercy. You can see the rest of the surah’s story on the an-Naml mind map.

Here is a simple way to live this dua. Next time you sit to make dua, do not open with your list. Pause first and think about what Allah gave you that day, one blessing at a time. Thank Him for each one specifically. Then see what it does to the rest of your dua. Remembering His favours and thanking Him for them puts you in a different state, one where you are ready to ask Him for more. And end the way Sulayman did: Rabbi awzi’ni an ashkura ni’matak, my Lord, inspire me to be thankful.

Keep learning across How to Muslim

How to Muslim Guide

Practical guides, from how to pray and make wudu to duas for every emotion.

Explore

Rawdah

Reading notes on Islamic books: seerah, history, and the fawaid worth keeping.

Explore

Maktab Ul-Islam

A free curated Islamic library: books, courses, podcasts and answers.

Explore

Nawara Academy

Free courses on the Quran, tafsir and the seerah, at your own pace.

Explore

Prophetic Footsteps

The life of the Prophet ﷺ in eight stages, with his family and companions.

Explore

Athar

Islamic history after 632, era by era, with the people who made it.

Explore