July 8, 2026 · 6 min
The cave of Thawr
The cave of Thawr
The night of the Hijrah did not begin quietly. The Prophet ﷺ left Makkah with the plots of the Quraysh already in motion behind him — young men from every clan gathered at his door with drawn swords, so that the blood of his killing would be spread among them all and no one tribe could be held to account. He left through their midst reciting وَجَعَلْنَا مِنۢ بَيْنِ أَيْدِيهِمْ سَدًّا وَمِنْ خَلْفِهِمْ سَدًّا فَأَغْشَيْنَاهُمْ فَهُمْ لَا يُبْصِرُونَ — and We placed a barrier before them and a barrier behind them, and covered them, so that they do not see — and they did not see him. He walked past them with dust in his hand and the sword-bearers still at their post.
He and Abu Bakr al-Ṣiddīq (may Allah be pleased with him) went south instead of north. North was where the Quraysh would search first, because north was where Madīnah was. South was the direction of no destination. They climbed to a cave on the mountain of Thawr and waited for the search to pass over them.
The mouth of the cave
The Quraysh sent trackers, and the trackers were good. They followed the footprints out of Makkah, they followed them into the hills, and they followed them right up to the mouth of the cave. Abu Bakr, from inside, could see their feet.
The narration in Ṣaḥīḥ al-Bukhārī preserves what he said. He whispered to the Prophet ﷺ: if any of them were to look down at his feet, he would see us. It is the sentence of a man who has done the arithmetic. Two men. No weapon that matters at this distance. A cave with one opening. Feet at the opening. There is no version of this in which they are not found.
And the Prophet ﷺ answered him — and this is the sentence the Qurʾān itself would later record, so that the moment could not be softened by memory — لَا تَحْزَنْ إِنَّ اللَّهَ مَعَنَا. Do not grieve. Indeed, Allah is with us.
What the sentence is not
There is a way of reading that sentence which flattens it, and I want to name that reading before I set it aside. The flat reading treats Allah is with us as a comfort — as the kind of thing a person says to a friend at a bad moment because there is nothing else to say. On that reading, the sentence is beautiful but slightly beside the point. The men are still in the cave. The trackers are still at the door.
That is not what Abu Bakr heard. Abu Bakr, of all the Companions, understood the grammar of maʿiyyah — the with-ness of Allah. He heard the sentence as a statement of fact about the situation itself, not a statement of sentiment about the two men in it. If Allah is with us, then the trackers are not the only actors in the scene. If Allah is with us, then the arithmetic that Abu Bakr had just done — two against many, no exit, no weapon — is arithmetic performed on the wrong set of variables. He had counted the men. He had not counted the One.
The Companions were later told about the spider that wove its web across the cave mouth, and the dove that nested there, so that the trackers looked at the entrance and concluded that no one could have entered recently. These are the details the story is famous for. But the spider and the dove are not the miracle of the story. They are the illustration of the miracle. The miracle is the sentence. The spider is only what the sentence looks like from outside the cave.
Tawakkul is not passivity
It is worth pausing on what the Prophet ﷺ did not do. He did not stay in Makkah and trust Allah to protect him there. He left. He did not walk in a straight line to Madīnah and trust Allah to blind the trackers. He hired a guide, ʿAbd Allāh ibn Urayqiṭ, who knew paths the Quraysh would not think to check. He did not enter the cave without preparation. Asmāʾ, the daughter of Abu Bakr, brought them food at risk to her own life. ʿĀmir ibn Fuhayrah drove the sheep over their tracks so the footprints would be lost.
Every reasonable means was taken. And then — with the means exhausted and the trackers at the door — the sentence was spoken. This is the shape of tawakkul in the Sunnah. It is not the refusal of causes; it is the refusal to worship them. The Prophet ﷺ tied the camel and trusted in Allah. He did not choose one and neglect the other. He did both, and understood which of the two was actually holding the camel in place.
There is a hadith in which a man asks the Prophet ﷺ whether he should tie his camel or trust in Allah. The Prophet ﷺ answers: اعْقِلْهَا وَتَوَكَّلْ — tie her, and rely on Allah. The cave of Thawr is that hadith enacted at the scale of a life. Every rope was tied. And the rope that mattered was the one no one could see.
What the trackers could not see
The trackers went home. The narrations differ on the exact detail — whether they saw the web and turned back, or whether one of them said if he were in this cave, the web would be broken, or whether it was the dove that convinced them, or all of it together. What is agreed is that they left. They stood at the mouth of the cave, and they left.
Abu Bakr saw feet. The Prophet ﷺ saw the One who moves feet. That is the whole of the story, in the end. The cave did not change. The trackers did not change. What changed was the register in which the situation was being read. The men inside the cave were reading it correctly, and the men outside the cave were not, and the miracle followed the reading.
Where the cave still is
Most of what feels like danger in a modern life is not swords at the door. It is quieter than that. It is a diagnosis, a rejection letter, a market that has turned, a relationship that has cooled, a plan whose numbers no longer add up. And in every one of those moments, the mind does what Abu Bakr did in the cave: it counts. It sees the feet. It calculates the distance to the exit and finds that there is none.
The sentence answers all of them. Do not grieve. Indeed, Allah is with us. It does not promise that the trackers will leave. It does not promise that the arithmetic will change. It says something more radical than either: it says that the arithmetic was never complete, because the One who is with the servant was never in the ledger.
The cave of Thawr is a real cave, and you can still climb to it, and the climb is harder than the stories make it sound. But the cave is also a room the servant enters, again and again, whenever the door of the world closes behind him and he cannot see a way through. The door closes. The feet arrive. The sentence is remembered. And the sentence, when it is really remembered — not recited, but heard — has always been enough.
إِذْ يَقُولُ لِصَاحِبِهِ لَا تَحْزَنْ إِنَّ اللَّهَ مَعَنَا ۖ فَأَنزَلَ اللَّهُ سَكِينَتَهُ عَلَيْهِWhen he said to his companion, "Do not grieve. Indeed, Allah is with us." So Allah sent down His tranquillity upon him. (at-Tawbah 9:40)
Notice the sequence. The sentence first. The sakīnah after. Peace, in the Qurʾān's own account of this night, was not the precondition of the trust — it was the answer to it.