The Hijrah Story for Kids: From Makkah to Madinah, Step by Step
The Hijrah for kids, step by step: the cave of Thawr, Asma's two belts, Suraqah, Quba and Madinah, all sourced, plus which famous details are not authentic.

Children love the Hijrah because it has a secret plan, a hiding place, a chase and a happy ending. The authentic version, from Sahih al-Bukhari and Sahih Muslim, is more exciting than the popular one, and every step below comes with its source.

Why did the Prophet ﷺ leave Makkah?
For about thirteen years the Prophet ﷺ called the people of Makkah to worship Allah alone. Believers were insulted, beaten and boycotted, and with the deaths of Khadijah and Abu Talib he lost his greatest support at home and his protector among the clans.
Then help came from the north. People from Yathrib, later called Madinah, accepted Islam and promised at al-Aqabah to protect him as they protected their own families (see Chapter 12: Yathrib Answers). The Prophet ﷺ told the believers he had been shown their new home in a dream: a land of date palms between two stony lava fields. Bukhari 3905 Quietly, in small groups, they began to leave.
Quraysh understood what this meant. The Qur’an describes their plan: “And remember when the disbelievers plotted against you, to imprison you, or kill you, or drive you out. They plotted, and Allah planned, and Allah is the best of planners.” Qur’an 8:30
Historians report that the leaders agreed to send young men from many clans to strike him together, and that Ali ibn Abi Talib slept in his bed the night he left. These details come from the Seerah books, not the sahih collections. Ibn Hisham, al-Sirah
The Hijrah, step by step
1. A visit at noon
Abu Bakr had wanted to emigrate long before, but the Prophet ﷺ told him: “Wait, for I hope that I will be given permission.” So for four months Abu Bakr fed two camels and kept them ready. Bukhari 3905
His daughter Aishah remembered the day. In the heat of noon, an hour when the Prophet ﷺ never visited, he came with his head covered and said: “I have been given permission to leave.” Abu Bakr asked to come with him, and he said yes. He accepted one of Abu Bakr’s camels only on condition that he paid for it. Bukhari 3905
2. Asma and her two belts
The family packed food in a hurry. Asma, Abu Bakr’s daughter, could find nothing to tie the food bag and the water skin except her own waist belt. Her father told her to cut it in two, and she tied one with each half. From then on she was called Dhat al-Nitaqayn, “the woman of the two belts”. Bukhari 2979
3. South to the cave of Thawr
Madinah lies to the north, but the two travellers first went south, to a cave on Mount Thawr, and hid there for three nights. Bukhari 3905 The report does not say why, but children usually work it out for themselves: anyone searching would look first on the roads to the north.
Everyone had a job, which makes a good whiteboard table: Bukhari 3905
| Helper | What they did |
|---|---|
| Asma bint Abi Bakr | Packed the food and tied it with her belt cut in two |
| Abd Allah ibn Abi Bakr | Stayed at the cave by night, slipped back into Makkah before dawn, and brought the news of every plan after dark |
| Amir ibn Fuhayrah | Grazed sheep near the cave so they had fresh milk each night, then travelled with them |
| A guide from Banu al-Dil | Not a Muslim, but trusted with the camels; brought them after three nights and led the way along the coast |
Historians name the guide Abd Allah ibn Urayqit. The Prophet ﷺ planned every detail, and still trusted Allah completely.
4. “What do you think of two…?”
The searchers came right up to the cave. Abu Bakr later said: “I said to the Prophet ﷺ while we were in the cave: if one of them looked down at his feet, he would see us.” The Prophet ﷺ answered: “O Abu Bakr, what do you think of two when Allah is the third of them?” Bukhari 3653Muslim 2381
The Qur’an remembers that moment:
إِلَّا تَنصُرُوهُ فَقَدۡ نَصَرَهُ ٱللَّهُ إِذۡ أَخۡرَجَهُ ٱلَّذِينَ كَفَرُواْ ثَانِيَ ٱثۡنَيۡنِ إِذۡ هُمَا فِي ٱلۡغَارِ إِذۡ يَقُولُ لِصَٰحِبِهِۦ لَا تَحۡزَنۡ إِنَّ ٱللَّهَ مَعَنَاۖ فَأَنزَلَ ٱللَّهُ سَكِينَتَهُۥ عَلَيۡهِ وَأَيَّدَهُۥ بِجُنُودٖ لَّمۡ تَرَوۡهَا وَجَعَلَ كَلِمَةَ ٱلَّذِينَ كَفَرُواْ ٱلسُّفۡلَىٰۗ وَكَلِمَةُ ٱللَّهِ هِيَ ٱلۡعُلۡيَاۗ وَٱللَّهُ عَزِيزٌ حَكِيمٌ ٤٠
Meaning: “If you do not help him, Allah already helped him when the disbelievers drove him out, the second of two, when they were in the cave, when he said to his companion, ‘Do not be sad; Allah is with us.’ So Allah sent down His calm upon him and supported him with forces you did not see, and He made the word of the disbelievers the lowest, while the word of Allah is the highest. And Allah is Almighty, All-Wise.” Qur’an 9:40
5. Milk in the shade
After three nights they set off. Years later Abu Bakr described one day of the ride to Azib, the father of the Companion al-Bara. They rode all night and into the next day, and at noon found a long rock with shade. Abu Bakr smoothed a place for the Prophet ﷺ to rest and said: “Sleep, O Messenger of Allah ﷺ, and I will keep watch.” He found a shepherd, asked him to clean the sheep’s udder before milking, then poured water on the milk until it was cool. “He drank,” said Abu Bakr, “until I was pleased.” Bukhari 3615Muslim 2009
On the road, people who knew Abu Bakr asked him: “Who is this man in front of you?” He answered: “This man guides me on the way.” They thought he meant the road; he meant the way of goodness. Bukhari 3911
6. Suraqah, the horseman
Quraysh had offered the full blood-money, a hundred camels, for each of the two travellers. Suraqah ibn Malik of the tribe of Mudlij heard that riders had been seen on the coast. He guessed who they were, told his friends they were other people, and galloped after them alone. Bukhari 3906
His horse stumbled and threw him, but he rode on. As he came closer he heard the Prophet ﷺ reciting the Qur’an, not looking round, while Abu Bakr kept looking back. Then his horse’s front legs sank into the ground up to the knees, and he fell again. Suraqah realised he could not harm them. He called out for safety, told them the plans of Quraysh and was given a written promise of security. The Prophet ﷺ asked only that he keep their news hidden. Bukhari 3906 Anas said: at the start of the day he was chasing the Prophet ﷺ, and by the end of it he was protecting him. Bukhari 3911
7. White clothes and a shout from a fort
Urwah ibn al-Zubayr reported that on the way, the Prophet ﷺ met Urwah’s father, al-Zubayr, with a caravan of Muslim merchants returning from Syria, and al-Zubayr gave him and Abu Bakr white clothes. In Madinah, the Muslims went out every morning to the lava field to wait, until the midday heat sent them home. One day, after they had gone in, a Jewish man on one of the forts saw the travellers in white appearing out of the shimmering heat, and shouted: “People of Arabia! Here is your good fortune that you have been waiting for!” Bukhari 3906
8. Quba
The Muslims rushed out to meet him. He stopped at Quba, among the clan of Banu Amr ibn Awf, on a Monday in the month of Rabi’ al-Awwal. He stayed there more than ten nights, and the mosque “founded on piety” was built there, where he prayed. Bukhari 3906 Anas puts the stay at fourteen nights. Bukhari 3932
9. The happiest day in Madinah
Then he rode into Madinah with Abu Bakr behind him on the same camel and the Ansar around them carrying their swords. Bukhari 3911Bukhari 3932 People came out saying: “The Prophet of Allah ﷺ has come! The Prophet of Allah ﷺ has come!” Bukhari 3911 Al-Bara ibn Azib, a boy in Madinah at the time, said he never saw its people happier about anything, so much so that even the servant girls were saying, “The Messenger of Allah ﷺ has come!” Bukhari 3925
His camel knelt at a yard used for drying dates, which belonged to two orphan boys, Sahl and Suhayl. The Prophet ﷺ said: “This, if Allah wills, is the place.” He offered to buy it so that it could become a mosque. The boys said they would give it to him as a gift, and the Prophet’s ﷺ Mosque was built there, with the Prophet ﷺ carrying bricks himself. Bukhari 3906 He stayed in the house of Abu Ayyub al-Ansari, the nearest house of his relatives. Bukhari 3911
How long was the journey, and how far?
The sources give three nights in the cave, a long ride north along the coast, and arrival at Quba on a Monday in Rabi’ al-Awwal. Bukhari 3906 They do not give the exact dates. Historians differ over the days, and by common estimates the whole journey took about two weeks, with the arrival falling around September 622 CE. The coastal route is far longer than a straight line: the Saudi heritage project “Ala Khutah” (“In His Footsteps”), which has mapped it for visitors, puts it at about 470 km, with 41 historic landmarks along the way. Gulf News, January 2025
Why does the Islamic calendar start with the Hijrah?
The Companions did not begin their calendar from the Prophet’s ﷺ mission or from his death. They counted from his arrival in Madinah. Bukhari 3934 That is why it is called the Hijri calendar, and why its years are written AH, “after the Hijrah”.
Historians report that this was decided in the time of the caliph Umar ibn al-Khattab, some sixteen to eighteen years after the Hijrah (the reports differ). Ibn Hajar explains that the years of the Prophet’s ﷺ birth and first revelation were disputed and his death was a painful memory, which left the Hijrah. Muharram was kept as the first month because the resolve to emigrate began then, after the pledge of al-Aqabah in Dhu al-Hijjah. Ibn Hajar, Fath al-Bari 7:268
This surprises many families: the journey itself happened in Rabi’ al-Awwal, not Muharram. The Islamic New Year is not the anniversary of his arrival.
Famous details that are not authentic
Many storybooks and websites tell these as plain fact. It is better to tell children honestly what the scholars found.
- The spider and the dove. The web rests on a single report in Musnad Ahmad (3251) that scholars disagree about, and the doves on weaker reports still; al-Albani concluded that no sahih hadith mentions either. What is authentic is more striking: the searchers stood right over the cave, and Allah protected them “with forces you did not see”. IslamQA 27224
- “Tala’a al-Badru ‘Alayna”. The song reaches us only through a chain with several links missing, so it is not established, and Ibn al-Qayyim thought that, if it was sung at all, it was on the return from Tabuk years later. What is authentic is the joy: “The Prophet of Allah ﷺ has come!” IslamQA 119722Bukhari 3925
- Umar emigrating openly and challenging Quraysh. Its narrators are unknown, as al-Albani noted. What is authentic: Umar came to Madinah with twenty Companions, before the Prophet ﷺ. IslamQA 208771Bukhari 3925
Weak does not mean “certainly false”; it means “not established”. Our guide to famous weak Seerah stories and what is authentic instead covers these and many more.
How to teach the Hijrah to children
- Start with a map. Mark Makkah, Thawr to the south, Quba and Madinah to the north, and ask: “Why go the wrong way first?”
- Give each child a helper (Asma, Abd Allah, Amir, the guide, Suraqah) to present as a “news reporter”. No child acts the part of the Prophet ﷺ or a Companion.
- Teach tawakkul properly: plan carefully, then leave the result to Allah. Ask each child to plan one hard thing this week.
- Listen to 9:40 together and find the words “Allah is with us”.
- Notice the turnarounds. Suraqah began the day as a hunter and ended it as a protector. People can surprise us.
The illustrated story, with its map, recitation and quiz, is Chapter 13: The Hijrah. There is a free printable Hijrah worksheet with a colouring page and answers, the Seerah games include a timeline and a map quest, and teachers can follow pupils with classroom mode.
Sources
- Qur’an 8:30; 9:40.
- Sahih al-Bukhari 2979, 3615, 3653, 3905, 3906, 3911, 3925, 3932, 3934.
- Sahih Muslim 2009, 2381.
- Musnad Ahmad 3251 (the spider; graded weak by al-Albani and by Shu’ayb al-Arna’ut and his co-editors; Ibn Kathir and Ibn Hajar considered its chain hasan).
- Ibn Hajar, Fath al-Bari 7:262 (the chain of “Tala’a al-Badru”) and 7:268 (the calendar).
- Ibn al-Qayyim, Zad al-Ma’ad (the return from Tabuk). Ibn Hisham, al-Sirah (the plot and Ali in the bed).
- IslamQA 27224 (the cave), 119722 (“Tala’a al-Badru”), 208771 (Umar’s emigration).
- “Ala Khutah” (“In His Footsteps”) route figures: Gulf News, January 2025.
Questions parents ask
How long did the Hijrah take?
The Prophet ﷺ and Abu Bakr hid for three nights in the cave of Thawr, then rode north along the coast and reached Quba on a Monday in Rabi' al-Awwal (Bukhari 3905, 3906). The sources do not give exact dates, and historians differ; by common estimates the whole journey took about two weeks, ending around September 622 CE.
Who went with the Prophet ﷺ on the Hijrah?
Abu Bakr travelled with him, together with Abu Bakr's freed servant Amir ibn Fuhayrah and a hired guide from Banu al-Dil who was not a Muslim (Bukhari 3905). Asma and Abd Allah, Abu Bakr's children, helped from Makkah with food and news.
Is the story of the spider's web at the cave true?
It is not established: it rests on one disputed report in Musnad Ahmad (3251), and many hadith scholars, including al-Albani, judged it weak. What is authentic is even more striking: the searchers came right up to the cave, and the Prophet ﷺ said: "What do you think of two, when Allah is the third of them?" (Bukhari 3653).
Why did they go south to the cave of Thawr when Madinah is north?
The hadith does not give a reason, but the effect is clear: searchers would look first on the roads to the north. They waited three nights for the search to die down, with Abd Allah ibn Abi Bakr bringing them the news each night (Bukhari 3905).
Is the Islamic New Year the anniversary of the Hijrah?
Not exactly. The Companions counted the years from the Prophet's ﷺ arrival in Madinah (Bukhari 3934), but they kept Muharram as the first month, while the journey itself took place in Rabi' al-Awwal. So 1 Muharram marks the start of the Hijri year, not the day he arrived.
What lessons can children take from the Hijrah?
The Hijrah shows tawakkul in action: careful planning, then complete trust in Allah, as in "Do not be sad; Allah is with us" (Qur'an 9:40). It also shows loyal friendship, young people like Asma and Abd Allah doing important jobs, and an enemy, Suraqah, becoming a protector.


