Surah Ash-Shuraa, ayah 12 (42:12)
Surah Ash-Shuraa · Makki · ayah 12 of 53 · in One religion, many disputes, the Balance
Ponder Ash-Shuraa 42:12 in the app →لَهُۥ مَقَالِيدُ ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضِ ۖ يَبْسُطُ ٱلرِّزْقَ لِمَن يَشَآءُ وَيَقْدِرُ ۚ إِنَّهُۥ بِكُلِّ شَىْءٍ عَلِيمٌ
“To Him belong the keys of the heavens and the earth. He extends provision for whom He wills and restricts [it]. Indeed He is, of all things, Knowing.”
Saheeh International
What does Surah Ash-Shuraa 42:12 mean?
The keys to every storehouse are His, so plenty and scarcity both come from One who knows exactly what each person can carry.
Reflections
The key card that stopped working
"To Him belong the maqālīd of the heavens and the earth." The commentaries explain the word as keys, or storehouses. One quotes an early grammarian: whoever owns the keys owns the treasuries. Another describes what is behind the doors. Rain and plants, mercy and provision. In His hand are the locks and keys of good and harm. What He opens of mercy, none can hold back; what He holds back, none can release (35:2).
The root has its own picture. Qalada was to twist a rope, and a qilāda was what was hung round a neck. From the same letters came the iqlīd, a key.
Picture a businessman on a long work trip, staying in a smart hotel. For a week his key card opens the room, the gym, the lounge on the top floor. He starts to feel at home. On the last morning he goes back for a forgotten charger. The card flashes red. He has checked out. Nothing about the card has changed. The system behind it simply no longer recognises him.
Most of what we think of as "our" keys work like that card. A job opens doors for us, until it ends. Health opens a hundred daily things, until it fails. A network of friends opens opportunities, until people move on. The keys always belonged to someone else.
The ego bristles at this. We like to believe our skill, our effort, our cleverness unlocked what we have. They did play a part. But behind every door was a storehouse we did not fill.
Some ask why God would keep all provision in His own hand. Does He enjoy holding people dependent? The commentaries point elsewhere. He knows whom plenty will improve and whom it will ruin, and He opens and closes accordingly. It is not about His need for control. It is about our need for the right measure.
So hold what you have lightly, and turn to the One who keeps the keys.
Rations from a commander who knows his troops
The word rizq, provision, carried a precise picture for its first hearers. The lexicons say the root means a gift given at a set time. They knew it from the army. A commander razaqa his troops: he handed out their rations, month by month. A single payment was a razqa. A bird razaqa its chick when it fed it. Rain too was called rizq, because provision comes from it.
The lexicons add that provision comes in two kinds. Visible provision for bodies: food, money, shelter. Hidden provision for hearts, like understanding.
So when the ayah says Allah extends and restricts rizq, the first image is not a lottery. It is a commander who knows his troops, handing out what each one needs, when they need it.
Picture a self-employed electrician. Some months the phone rings constantly. Other months it barely rings at all. For years he rode the swings with his stomach: elated, then sick with worry. One winter, during a slow spell, he starts to think of each job as a ration sent rather than a prize won. He still works hard. He still quotes carefully. But he stops treating a quiet week as a verdict on his worth. It is simply this week's ration.
That shift does not make money appear. It changes the person receiving it. Anxiety feeds on the belief that everything depends on you alone. Rizq says there is a Provider behind the payments, who measures what reaches you.
And remember the hidden provision too. A slow month may come with time for your children. A hard year may bring understanding you would never have gained in an easy one. Those are rations as well.
The Qur'an says elsewhere that in the sky is your provision (51:22). Look up from the bank app now and then. The commander is still handing out rations, and He has not forgotten your name.
Why the good are sometimes poor
"He extends provision for whom He wills, and restricts it." A sceptic, or a struggling believer, asks the obvious question. Why are some honest, prayerful people poor, while some cruel people are rich? If Allah holds the keys, why does the distribution look so unfair?
The commentaries answer from the end of the ayah: He is Knower of all things. One explains that He knows whom abundance will set right and whom it will corrupt. He knows the same of scarcity. Another puts it simply: if He knows wealth is good for a servant, He enriches him; otherwise He makes him poor. A third names the purpose. He extends provision as a test, to see whether a person will be grateful. He restricts it as a trial, to see whether a person will be patient or resentful.
In other words, wealth is not a reward and poverty is not a punishment. Both are tests, fitted to the person.
Picture a father with two teenage sons. One is saving hard for a sound-engineering course; the father adds to his allowance. The other has spent every penny for three months on phone games. The father gives him less, and pays for his bus pass directly. Both boys complain that it is unfair. Each sees only his own share and his brother's. Only the father sees both boys whole.
What remains open is that we rarely see the whole. We do not know how a particular rich person's wealth will be judged, or what a particular poor person is being spared or given. The ayah does not explain each case. It tells you who is doing the measuring, and that He knows.
For the believer, the practical question changes. Not, "Why do I have less?" but, "What is this measure asking of me?" If more, gratitude and generosity. If less, patience and dignity. Either way, you are not forgotten.
Asking the One who holds the keys
One commentary ends its explanation of this ayah with an invitation. Turn in hope, it says, to the One who holds the keys of the heavens and the earth. Worship Him sincerely, not the idols and false gods that hold no harm or benefit for you.
That is the natural response to the ayah. If someone holds the keys to every storehouse, you would go to them, not to the people standing in the corridor.
Allah does not need our asking. He is the Free of need, and people are poor towards Him (35:15). The asking is for us. It reorders the heart. It moves our hope from the corridor to the door.
Picture a young driver working for a ride-hailing app. For months he watches the surge map constantly, chasing busy zones, refreshing every few seconds. His nerves are shredded. One morning, before switching on the app, he sits in the car and says a short du'a for good and lawful provision. He starts doing it every day. The work is the same. Some days are busy and some are not. But he stops refreshing the map every few seconds. He has handed the anxiety to Someone else.
That is a small, modern picture of turning to the One with the keys. It is not passivity. He still drives, still plans, still works the good hours. But the weight has moved off his shoulders.
Many people today are exhausted by the effort of controlling outcomes that were never theirs to control. Markets, algorithms, employers, the economy. The ayah offers a different centre. Behind all of them, the keys are held by One who knows you and wills good for you.
In the remembrance of Allah, hearts find rest (13:28). Start tomorrow the way the driver did: one short request to the Keeper of the keys, before you reach for the map.
The same sentence, different endings
The phrase "He extends provision for whom He wills and restricts" is one of the Qur'an's quiet refrains. The Qur'an repeats it in eight surahs. What follows it changes each time, and the changes are worth noticing.
In Al-ʿAnkabut, the sentence is almost identical to this one and ends the same way: Allah is Knower of all things (29:62). In Al-Isra, it ends: He is All-Aware, All-Seeing of His servants (17:30). In Az-Zumar and Ar-Rum, it ends: in that are signs for a people who believe (39:52, 30:37). In Ar-Raʿd, a warning follows. They rejoice in the life of this world, yet beside the next it is only a brief enjoyment (13:26). In Saba, it comes with: but most people do not know (34:36).
Put together, the endings form a small curriculum. He knows. He sees His servants. There are signs in it. Do not be dazzled by this world's share. Most people miss all of this.
The word maqālīd, keys, also appears in Az-Zumar: to Him belong the keys of the heavens and the earth (39:63). Two commentaries simply refer the reader back there.
Picture a swimming coach who sets the same short drill at the start of every session for a year. The swimmer grumbles. Then one day she notices that the drill feels different every week, because the stroke that follows it changes. The drill has been tuning her body to meet each new stroke properly.
The repetition in the Qur'an works like that. You meet the same truth about provision again and again, each time followed by a different lesson. For a memoriser, the endings are anchors. For any reader, they are a reminder that one truth can carry many consequences.
Next time you read this phrase, pause and ask: which ending follows it here, and what is it asking of me?
The row left at the edge of the field
The verb for restricting provision is yaqdiru. Its root means the full measure of a thing, and the same root gives qadar, decree. So restriction here is not neglect. It is measurement. And extension, yabsuṭu, comes from a root of spreading out, like a rug unrolled across a floor. A generous man's hand was described as "spread".
One commentary names what each state asks for. Plenty tests whether a person will be grateful. Scarcity tests whether a person will be patient, or resentful of what Allah decreed. Neither state is permanent, and neither is the point. The response is the point.
Picture a farmer who had a bumper harvest in his third year on the land. That autumn, he planted one extra row of vegetables along the roadside edge of his field. A small sign said: for whoever needs it. Two years later came a drought. His yield halved. His wife asked whether they should plough the extra row back into their own crop. He thought about it overnight. In the morning he kept the row, and planted it a little smaller.
That is what this ayah looks like lived. In the spread years, he widened his hand. In the measured years, he kept the habit, trimmed but intact. His generosity did not depend on the size of the harvest, because the harvest was never his to begin with.
Most of us do the opposite. We promise to give when we have more, and then find that more is never quite enough. Or we give in good years and stop the moment things tighten.
The ayah suggests a steadier way. Treat abundance as a test of gratitude, and answer it with open hands. Treat scarcity as a test of patience, and answer it without bitterness, and without closing your hand completely. The One who measures sees both.
A common misreading
Often heard: Wealth is a sign of God's favour and poverty a sign of His displeasure.
Closer to the ayah: Both are tests fitted to the person: plenty tests gratitude, scarcity tests patience; He knows whom each will set right or corrupt.
Often heard: Rizq means money.
Closer to the ayah: Rizq is every gift given at its set time, like a commander's rations: visible provision for bodies and hidden provision for hearts, such as understanding.
Words to know
مَقَالِيدُ maqālīdu
"Keys", or storehouses. One early reading notes it as a borrowed word for keys. The commentaries gloss it as the keys of the treasuries of the heavens and the earth: rain, plants, mercy and provision. One adds that whoever owns the keys owns the treasuries. The same word opens a similar ayah in Az-Zumar (39:63).
Questions to sit with
- Which of your keys have you forgotten belong to Someone else?
- What is your current measure of provision asking of you: gratitude, patience, or both?
- How could you keep your hand open in a lean year, even if a little smaller?
Live it today
Before you start work tomorrow, ask Allah for good and lawful provision in one short du'a. Then set aside a small, fixed amount to give, whatever this month brings.
Echoes in the Quran
- Surah Az-Zumar 39:63The rare word for keys appears in Az-Zumar too: the keys of the heavens and the earth are His alone.
- Surah Fatir 35:2Behind the doors those keys open: what He opens of mercy, none can hold back; what He holds back, none can release.
- Surah Al-'Ankabut 29:62Al-ʿAnkabut says almost the same sentence, widening and narrowing provision, and ends it the same way: He knows all things.
Come back to this ayah when you feel...
when you feel you have nothing to give · when money and faith feel at odds · when you worry about money · after a success · when you compare yourself with others
A Name of Allah in this ayah
The classical tafsir of this ayah
Tafsir al-Jalalayn · Tafsir Ibn Kathir (abridged) · Tafsir al-Tabari (abridged) · Tafsir al-Qurtubi (abridged) · Tafsir al-Sa'di · Tafsir al-Razi (abridged)
Read the whole surah
Every affair comes home: a reflection on all of Surah Ash-Shuraa, from its first ayah to its last.
Ponder Ash-Shuraa 42:12 in the app →In the app: the Mushaf, every word with its root, side-by-side tafsir, and your own private reflections. Free, no account, works offline.