There is a phrase that Muslims quote in almost every conversation about life not going according to plan.
When the job falls through. When the relationship ends. When the door that was supposed to open stays closed. When the thing you worked for and prayed for and were certain was coming — doesn’t come.
“Allah is the best of planners.”
It is said with comfort, with resignation, with genuine faith — and sometimes with a slightly hollow quality that suggests the person saying it is not entirely sure what it means or whether they truly believe it in this specific, painful moment.
The phrase comes from the Quran. It is a translation — a loose one — of a verse in Surah Al-Anfal that was revealed in one of the most dangerous moments of the prophetic mission. A moment when actual men were making actual plans to murder Prophet Muhammad ﷺ. A moment when the outcome looked, by every human measure, like it was going to be catastrophic.
And Allah said — in that moment, in that context, about that specific situation: and Allah is the best of makireen.
That last word — makireen — is what most translations render as “planners.” But that rendering, while not incorrect, loses something essential. Something that makes this verse not just a comfort but a theology — a complete understanding of how Allah relates to human plans, to human schemes, to the efforts of people who think they are in control.
This is the complete tafsir of that verse — in its context, in its language, in its full meaning. And by the end, the phrase you say when life doesn’t go according to plan will mean something it may never have meant before.
The Full Verse: Arabic and English
Quran Verse:
وَإِذْ يَمْكُرُ بِكَ الَّذِينَ كَفَرُوا لِيُثْبِتُوكَ أَوْ يَقْتُلُوكَ أَوْ يُخْرِجُوكَ ۚ وَيَمْكُرُونَ وَيَمْكُرُ اللَّهُ ۖ وَاللَّهُ خَيْرُ الْمَاكِرِينَ
“And remember when those who disbelieved were scheming against you to restrain you, kill you, or drive you out. They were scheming, and Allah was scheming — and Allah is the best of schemers.”
Surah Al-Anfal (8:30)
The Context: The Night They Came to Kill Him
To understand this verse, you must first understand the night it describes.
It was the night of the Hijrah — the migration from Makkah to Madinah. The Quraysh had gathered their leadership — the heads of every major tribe in Makkah — in a secret council called Dar al-Nadwa to discuss what to do about Muhammad ﷺ. Three options were on the table:
Option One — Restrain him: Imprison Muhammad ﷺ in chains until he died in captivity. This was rejected — his followers would attempt a rescue and the problem would persist.
Option Two — Exile him: Drive him out of Makkah into the desert. This was rejected — he would simply organize his followers elsewhere and return with greater strength.
Option Three — Kill him: Select one strong young man from each tribe in Makkah. Have them all strike Muhammad ﷺ simultaneously with their swords. With the blood shared across all tribes, the Banu Hashim (his clan) could not seek blood revenge against any one family — they would have to accept blood money instead.
This third option was chosen. It was Iblis himself — appearing in human form as an elder from the people of Najd — who suggested it and advocated for it in the council.
The plan was sophisticated. The coordination was thorough. The men selected were among the strongest warriors in Makkah. And they gathered that night outside Muhammad’s ﷺ house, waiting for him to emerge at dawn for the morning prayer.
Allah revealed to Muhammad ﷺ what was being planned. He commanded him to leave that night — to begin the Hijrah, to have Ali ibn Abi Talib, may Allah be pleased with him, sleep in his bed as a decoy, and to depart with Abu Bakr, may Allah be pleased with him, toward Madinah.
Muhammad ﷺ walked out of his house — past the men waiting to kill him — reciting:
Quran Verse:
وَجَعَلْنَا مِن بَيْنِ أَيْدِيهِمْ سَدًّا وَمِنْ خَلْفِهِمْ سَدًّا فَأَغْشَيْنَاهُمْ فَهُمْ لَا يُبْصِرُونَ
“And We have put before them a barrier and behind them a barrier and covered them, so they do not see.”
Surah Ya-Sin (36:9)
They could not see him. He walked through them. He scattered dust on their heads as he passed. And by the time they realized he was gone — he and Abu Bakr were already in the Cave of Thawr, beginning the journey that would change the world.
The Quran then revealed this verse: they were scheming, and Allah was scheming — and Allah is the best of schemers.
The Word That Changes Everything: Makr
The Arabic word at the center of this verse is مَكْر — Makr.
Most English translations render it as “planning” — “Allah is the best of planners.” Some render it as “scheming.” The word is more nuanced than either translation captures — and understanding it fully is what transforms this verse from a comforting phrase into a comprehensive theology.
Makr in Arabic refers to a specific type of action: a plan that is executed with concealment — where the person against whom the plan is directed does not know it is being executed until it is already accomplished. It is not simply planning — that would be takhteen or tadabeer. It is planning that operates invisibly, that reaches its objective through means the opponent cannot detect or counter.
In human use, makr often carries a negative connotation — the cunning of a deceiver, the scheme of someone who operates through deception rather than open confrontation. This is why some readers are troubled by the phrase “Allah is the best of makireen” — how can Allah be described with a word that implies concealment and cunning?
The scholars of tafsir address this directly: the quality described by makr — planning that operates invisibly, that the opponent cannot detect or counter — when applied to Allah, is completely free of the negative connotations it carries in human use. When Allah plans in ways that are invisible to those who oppose Him, He is not being deceptive — He is being sovereign. His plans do not require announcement. His purposes do not require the permission of those who oppose them.
Imam Al-Qurtubi explains: when the word is used of Allah, it means mashiatu-hu al-latee la yuttala’ alayha — “His will that cannot be perceived or countered by those against whom it operates.” It is not a deception. It is the absolute, invisible sovereignty of the Creator over every plan His creation makes.
The Quraysh’s makr: Their plan was sophisticated, coordinated, and conducted in secret. They believed it was airtight. They had one strong man from each tribe. They had gathered at night. They were positioned outside his house. By every human measure, their scheme was about to succeed.
Allah’s makr: He had already revealed the plan to His prophet. He had already commanded the departure. He had already blinded the men waiting outside the house. He had already arranged the cave. He had already decreed that Muhammad ﷺ would leave Makkah safely and arrive in Madinah to build the community that would carry His message to the world.
The Quraysh were scheming. And simultaneously — invisibly, sovereignly, without their knowledge — Allah was scheming. And when the two schemes met — one human, one divine — there was no contest.
“They Were Scheming and Allah Was Scheming”: The Structure of the Verse
The verse contains one of the most dramatic rhetorical structures in the Quran — a structure that Arabic scholars call al-muqabala — the parallel juxtaposition of opposites:
وَيَمْكُرُونَ وَيَمْكُرُ اللَّهُ
“They were scheming — and Allah was scheming.”
The same verb. The same grammatical form. Side by side. The scheme of the Quraysh — the most powerful men in Makkah, the best military minds, the most experienced tribal strategists — placed directly beside the scheme of Allah.
The juxtaposition is not an equation. It is a contrast. By using the same word for both — the human scheme and the divine response — Allah is inviting the reader to compare them. To hold them side by side. And then to arrive, inevitably, at the conclusion the verse provides:
وَاللَّهُ خَيْرُ الْمَاكِرِينَ
“And Allah is the best of schemers.”
The word khayr — best — in Arabic does not just mean better by degree. When used in this construction, it means: in a category of its own. So completely superior that comparison becomes almost meaningless. The Quraysh schemed. Allah schemed. And Allah’s scheming is of a different category entirely — not better in the way that a more experienced general is better, but better in the way that the infinite is better than the finite. In the way that the Creator is better than the created at everything the created attempts.
Three Dimensions of Allah’s “Planning”
When we say Allah is the best of planners, what does that actually mean? The tafsir of this verse suggests at least three distinct dimensions:
First Dimension — He Knows What They Are Planning Before They Plan It
Quran Verse:
أَلَا يَعْلَمُ مَنْ خَلَقَ وَهُوَ اللَّطِيفُ الْخَبِيرُ
“Does He who created not know, while He is the Subtle, the Aware?”
Surah Al-Mulk (67:14)
The Quraysh met in secret. They believed their council was private. They believed their plan was known only to those present. But Allah knew every word before it was spoken, every plan before it was formed, every thought before it became a scheme.
This is the first dimension of Allah’s planning: omniscience. He does not plan reactively — responding to what His creation does. He plans with complete foreknowledge of every variable, every contingency, every possibility. The Quraysh were working with incomplete information (they did not know Allah was involved). Allah was working with complete information (He knew everything — including what they were planning).
Second Dimension — He Executes His Plan Through Means Invisible to Those Who Oppose It
The men outside Muhammad’s ﷺ house were experienced warriors. They were awake and alert. And Allah made them unable to see the man walking through them — scattering dust on their heads.
This is the second dimension: invisibility of execution. Allah’s plans operate through means that those who oppose them cannot detect, cannot anticipate, and cannot counter. The Quraysh were looking for Muhammad ﷺ. He walked past them. The means Allah used — the blindness He placed over their sight — was not something any human contingency plan could have prepared for.
Third Dimension — The Outcome of His Plan Produces What No Human Plan Could Achieve
The Quraysh wanted to prevent Muhammad ﷺ from establishing a community that would challenge their power. Their attempt to kill him — by forcing the Hijrah — actually produced the very thing they were trying to prevent. The Hijrah became Year One of the Islamic calendar. Madinah became the first Islamic state. The community that the Quraysh tried to strangle in Makkah grew in Madinah into the force that returned eight years later and conquered Makkah peacefully.
Their plan to destroy the mission became the mechanism through which the mission succeeded on its largest scale.
This is the third dimension: Allah’s plan converts the schemes of those who oppose His will into the very instruments of His will’s fulfillment. Not despite the opposition — through it.
What This Verse Means for Every Believer
The verse was revealed about a specific historical moment — the night of the Hijrah, the plot of the Quraysh, the miraculous departure of Muhammad ﷺ. But Allah preserved it in His eternal Book for every generation — because the principle it establishes is universal.
Every believer faces their own version of the Quraysh’s scheme. Not necessarily a literal assassination plot — but moments when human plans, human power, human opposition arranges itself against what Allah has decreed for you. A door that closes because someone decided to close it. An opportunity that disappears because someone worked against you. A path that seems blocked by the deliberate action of another person or a system or a circumstance.
In those moments — this verse says:
They are scheming. And Allah is scheming. And Allah is the best of schemers.
The people or circumstances opposing you are operating with incomplete information — they do not know what Allah has decreed for you, what Allah has arranged beyond what they can see, what Allah is executing through means invisible to them.
Allah is operating with complete information — including full knowledge of their plan, full capacity to work around it, through it, and if necessary, by using it as the very instrument of His own purposes.
Hadith:
احْتَجَّ آدَمُ وَمُوسَى… فَقَالَ مُوسَى: أَنْتَ آدَمُ الَّذِي خَلَقَكَ اللَّهُ بِيَدِهِ، وَنَفَخَ فِيكَ مِنْ رُوحِهِ، وَأَسْجَدَ لَكَ مَلَائِكَتَهُ، وَأَسْكَنَكَ فِي جَنَّتِهِ، ثُمَّ أَهْبَطْتَ النَّاسَ إِلَى الأَرْضِ بِخَطِيئَتِكَ؟ فَقَالَ آدَمُ: أَنْتَ مُوسَى الَّذِي اصْطَفَاكَ اللَّهُ بِرِسَالاتِهِ وَبِكَلَامِهِ، ثُمَّ تَلُومُنِي عَلَى أَمْرٍ قَدَّرَهُ اللَّهُ عَلَيَّ قَبْلَ أَنْ يَخْلُقَنِي
“Adam and Musa debated… Musa said: ‘You are Adam whom Allah created with His own hand, breathed His spirit into, commanded the angels to prostrate before, and settled in His paradise — and then you caused people to descend to earth through your sin?’ Adam said: ‘You are Musa whom Allah chose for His messages and His direct speech — and yet you blame me for a matter that Allah decreed before He created me?'”
Recorded in Sahih Al-Bukhari, Hadith No. 6614
Adam’s response to Musa in this hadith contains the theology of divine decree that Surah Al-Anfal (8:30) expresses in its most concentrated form: Allah’s plan precedes every human event. What looks like human scheming succeeding or failing is always operating within a decree that was written before the schemers were born.
The Quraysh thought they were planning. Allah had already decreed the Hijrah, Madinah, and the future of the Islamic community — before any of them were born. Their “planning” was taking place entirely within the frame of Allah’s already-established will.
The Most Important Implication: Your Plans Are Held Within His
This verse does not say that human planning is useless. It does not say that effort is irrelevant or that what people do to you doesn’t matter. The Quraysh’s plot was real. The danger was real. The Prophet ﷺ left his house that night — he did not simply sit and wait for Allah to resolve things while he remained passive.
What the verse says is this: no human plan — however sophisticated, however coordinated, however powerfully backed — can ultimately override the plan of Allah. Human makr operates within a finite frame of knowledge and power. Allah’s makr operates with infinite knowledge and absolute power.
This means:
When your plan works — it works within Allah’s permission and decree.
When someone else’s plan against you works — it works within Allah’s permission, and Allah has already arranged what comes next.
When no plan seems to be working — Allah’s plan is operating through means invisible to every human eye, including yours.
Quran Verse:
وَعَسَىٰ أَن تَكْرَهُوا شَيْئًا وَهُوَ خَيْرٌ لَّكُمْ ۖ وَعَسَىٰ أَن تُحِبُّوا شَيْئًا وَهُوَ شَرٌّ لَّكُمْ ۗ وَاللَّهُ يَعْلَمُ وَأَنتُمْ لَا تَعْلَمُونَ
“And it may be that you dislike a thing which is good for you and that you like a thing which is bad for you. And Allah knows, while you know not.”
Surah Al-Baqarah (2:216)
The plans you make with the information you have. Allah plans with complete knowledge of everything — including what is good for you, what the outcome of every path will be, what is waiting on the other side of every door that opens or closes.
“Allah knows, while you know not.” — This is not a dismissal of human knowledge. It is a reminder of the asymmetry: your knowledge is real but partial. Allah’s knowledge is complete. His plan accounts for everything yours cannot account for.
A Final Word: What to Say — and What to Mean — When You Say It
The next time you say “Allah is the best of planners” — say it knowing what it actually means:
It means: there are people and circumstances that may be scheming against what you want, against what you have worked for, against what you have prayed for. And Allah is aware of every one of those schemes — in more detail than the schemers themselves.
It means: Allah’s plan is executing right now — through means you cannot see, through paths you have not been shown, through a decree that was written before you were born and that accounts for everything happening to you now.
It means: the outcome is not in the hands of whoever seems to be in control of it. It is in the hands of the One for whom the word control is an understatement.
It means: the men waiting outside Muhammad’s ﷺ house thought they had the plan that would end the mission. And Allah was scheming. And when the two plans met — on a night in Makkah when a man walked through a crowd that could not see him — there was no contest.
There never is.
Quran Verse:
وَيَمْكُرُونَ وَيَمْكُرُ اللَّهُ ۖ وَاللَّهُ خَيْرُ الْمَاكِرِينَ
“They were scheming, and Allah was scheming — and Allah is the best of schemers.”
Surah Al-Anfal (8:30)
They scheme. He schemes. And there is no comparison.
Whatever is being arranged against you — known or unknown, visible or invisible — Allah already knows. And Allah has already planned.
And Allah is the best of planners.
Now you know what that means.












