Cave Thawr (Ghar Thawr): The Cave of the Hijrah
Cave Thawr is where the Prophet ﷺ and Abu Bakr hid during the Hijrah — and where Allah's promise, 'Do not grieve, Allah is with us,' was spoken.
The short answer: Cave Thawr, on Jabal Thawr south of Makkah, is where the Prophet Muhammad ﷺ and Abu Bakr (may Allah be pleased with him) hid for three days during the Hijrah, while the Quraysh searched for them. The Qur'an records the moment: “Do not grieve; indeed Allah is with us” (Qur'an 9:40).
When the Prophet ﷺ left Makkah for Madinah, the Quraysh sent search parties in every direction, offering a great reward for his capture. Rather than fleeing straight north towards Madinah, the Prophet ﷺ and Abu Bakr went south — the opposite direction — and hid in a cave on Jabal Thawr, while Abu Bakr's family brought them food and news and his servant erased their tracks with sheep.
“When they were in the cave and he said to his companion, 'Do not grieve; indeed Allah is with us.' And Allah sent down His tranquillity upon him and supported him with angels you did not see.”
— Qur'an 9:40
Abu Bakr later said that if any of the searchers had looked down at their feet, they would have seen the two men hiding below. The Prophet ﷺ answered with the words that have comforted believers ever since: “What do you think of two, the third of whom is Allah?” The searchers passed by, the danger passed, and after three days the two travellers set out for Madinah by a little-used coastal route — the journey that became the Hijrah, and the starting point of the Islamic calendar.
The climb
Jabal Thawr is a harder climb than Jabal al-Noor. The path is rougher, less developed, and steeper in places, with loose rock underfoot, and there are few facilities on the mountain. The climb takes around two hours for a fit walker, and the descent is demanding. Many pilgrims choose to view the mountain from below and hear the story there rather than climbing. That is a perfectly good choice — the lesson of Thawr is trust in Allah, not mountaineering, and there is no reward in risking injury. If you do climb, go at dawn, carry plenty of water, wear proper shoes, and go with a guide who knows the path.
What to do at the cave
- Read or reflect on Qur'an 9:40, the verse of the cave, and the trust it teaches.
- Remember Abu Bakr's loyalty — he was willing to give his life for the Prophet ﷺ, and he is the model of companionship.
- Make dua quietly for trust and patience in your own difficulties.
- Keep your visit short; the cave is small and others are waiting.
- Do not perform any special prayer or ritual at the cave, and do not rub its walls or leave anything behind.
Why Thawr matters
Thawr is the cave of trust. Hira is where revelation began; Thawr is where the Prophet ﷺ staked everything on Allah's protection, with the enemy literally standing above his head. The verse revealed about it — “Do not grieve; indeed Allah is with us” — has become one of the most quoted verses in Islam, because every believer has moments when the danger feels close and the way out is hidden. To stand at Thawr is to remember that Allah's help comes in ways we cannot see, and that the third companion of every two who trust in Him is Allah Himself.
Planning your visit
Cave Thawr is usually visited as part of a Makkah ziyarat tour, or as a separate early-morning trip for the fit and keen. Allow at least half a day. Check the current local arrangements before you go — access and guidance change from time to time. And if you decide not to climb, ask your guide to tell the story at the foot of the mountain: the story is the point, and it loses nothing in the telling.
Frequently asked questions
Where is Cave Thawr?
On Jabal Thawr, south of Makkah. The climb is rough and steep — many pilgrims view it from below rather than climbing.
What happened in Cave Thawr?
The Prophet ﷺ and Abu Bakr hid there for three days during the Hijrah while the Quraysh searched for them. The Qur'an records the moment in verse 9:40.
How long did they stay in the cave?
Three days, while Abu Bakr's family brought them food and news. They then set out for Madinah by a little-used coastal route.
Is the climb to Cave Thawr difficult?
Yes — it is harder than Jabal al-Noor, with a rough, steep path. It is not suitable for elderly pilgrims or anyone with weak knees or a heart condition.
Is there a special prayer at Cave Thawr?
No. There is no prescribed prayer or ritual at the cave. Reflect on Qur'an 9:40 and make dua quietly.
Related reading
- About Hajj and Umrah — the hub
- Cave Hira (Ghar Hira): Where the First Revelation Came
- Ziyarat Places in Makkah: A Pilgrim's Guide
- The Complete Umrah Guide
- Prayer Times Tool
← Back to the Knowledge Center · All guides on one page →
Questions about any rite? Ask an advisor — or open the Islamic Tools for duas and prayer times. Where rulings differ by school of thought, we say so plainly; a scholar you trust should always be your last reference.
Come and meet us in person.
“We would rather you choose us in a quiet office than on a website.” — Zubair Khan Shinwari, Founder & Chairman