Safa and Marwa Story: The Inspiring Story of Hajar, Zamzam, and Faith
The Safa and Marwa story is one of the most touching and meaningful stories in Islamic history. It tells the story of faith, sacrifice, and a mother’s unwavering trust in Allah during a moment of great hardship. Today, millions of Muslims remember this powerful event every year when they visit Makkah for Hajj or Umrah.
Table of Contents
The Safa and Marwa story begins with Hajar (RA), the wife of Prophet Ibrahim (AS), and her infant son Prophet Ismail (AS). By the command of Allah, Prophet Ibrahim left them in the barren valley of Makkah—a place that, at the time, had no water, no people, and no signs of life. As their limited supply of water ran out, baby Ismail became thirsty and began to cry. Faced with this desperate situation, Hajar climbed the hill of Safa, hoping to see someone in the distance who could help.
When she found no one, she ran down toward the hill of Marwa, searching for water or any sign of relief for her child. She repeated this journey seven times between the two hills with determination and hope. This emotional moment forms the heart of the Safa and Marwa story, a story that reflects patience, effort, and complete reliance on Allah.
Because of this powerful event, Muslims today perform the ritual known as Sa’i during Hajj and Umrah, walking between Safa and Marwa to remember Hajar’s struggle and her unwavering faith. In this guide, we will explore the full Safa and Marwa story, the miracle that followed her search, and the spiritual lessons that continue to inspire believers around the world.
What Is the Safa and Marwa Story?
The Safa and Marwa story is one of the most meaningful narratives in Islamic history. It is a story of faith, sacrifice, and the powerful trust that a believer places in Allah during times of hardship. This story is not only remembered through narration but is also honored through a ritual performed by millions of Muslims during Hajj and Umrah.
At its heart, the Safa and Marwa story reminds believers that sincere effort combined with reliance on Allah can lead to mercy and unexpected blessings.
Overview of the Safa and Marwa Story
The Safa and Marwa story begins with Prophet Ibrahim (AS), his wife Hajar (RA), and their infant son Prophet Ismail (AS). According to Islamic tradition, Allah commanded Prophet Ibrahim to leave Hajar and Ismail in the empty valley of Makkah. At that time, the valley had no inhabitants, no crops, and no visible source of water.
When Prophet Ibrahim (AS) began to leave them there, Hajar (RA) followed him and repeatedly asked where he was going, knowing that the place offered no protection or resources. At first, Ibrahim remained silent. Finally, she asked a question that revealed her deep faith:
“Did Allah command you to do this?”
When Prophet Ibrahim replied that it was indeed Allah’s command, Hajar responded with complete trust:
“Then Allah will not neglect us.”
(Sahih al-Bukhari, Hadith 3364)
Soon after, their small supply of water ran out. As baby Ismail cried from thirst, Hajar climbed the hill of Safa to look across the valley for help. Seeing no one, she rushed down and ran toward Marwa, hoping to find water or a passing traveler. She repeated this desperate search seven times between the two hills.
At that moment of struggle and patience, Allah sent relief. The Angel Jibreel (AS) struck the ground near Ismail, and the blessed Zamzam well began to flow. This miraculous water became a source of life in the desert and continues to provide water to pilgrims even today.
Why the Story Is Important in Islam
The Safa and Marwa story holds deep spiritual meaning in Islam because it teaches powerful lessons about faith, patience, and trust in Allah. Hajar’s determination and reliance on Allah became an example for all believers.
Allah honored this moment by making the hills of Safa and Marwa among the sacred symbols of Islam. The Quran mentions them in Surah Al-Baqarah:
“Indeed, Safa and Marwa are among the symbols of Allah. So whoever performs Hajj to the House or performs Umrah—there is no blame upon him for walking between them.”
(Quran 2:158)
Because of this verse, Muslims performing Hajj or Umrah carry out the ritual of Sa’i, walking seven times between Safa and Marwa just as Hajar once ran in search of water for her son.
Through this act, the Safa and Marwa story continues to live on, reminding every pilgrim that patience, effort, and trust in Allah are always rewarded.
The Beginning of the Safa and Marwa Story
The Safa and Marwa story begins with one of the greatest tests of faith in Islamic history. It is a story that reflects obedience to Allah, patience during hardship, and the unwavering trust of a believer. The events that unfolded in the empty valley of Makkah would later become one of the most remembered stories in Islam and a ritual practiced by millions of Muslims every year.
Prophet Ibrahim’s Test from Allah
Prophet Ibrahim (AS) was known for his complete obedience to Allah. Throughout his life, he faced many tests, but one of the most difficult commands was when Allah instructed him to leave his wife Hajar (RA) and their infant son Ismail (AS) in the barren valley of Makkah.
At that time, the valley was completely empty. There were no people living there, no farms, and no visible source of water. Despite the difficulty of this command, Prophet Ibrahim followed Allah’s instruction with full submission.
Before leaving, Ibrahim placed a small amount of food and water near Hajar and their baby. Then he began walking away. As he was leaving, Hajar followed him, confused and worried about what would happen to them in such a lonely place.
The Valley of Makkah at That Time
Today, Makkah is one of the most visited cities in the world, but at the time of this story, it was nothing more than a dry desert valley surrounded by mountains. There were no homes, no travelers passing through, and no sources of water.
It was a silent and empty place where survival seemed impossible. Yet it was in this very valley that Allah planned to establish a sacred land that would later become the center of worship for Muslims.
The Quran also refers to this moment when Prophet Ibrahim prayed to Allah after leaving his family in the valley:
“Our Lord, I have settled some of my descendants in an uncultivated valley near Your Sacred House.”
(Quran 14:37)
This verse reflects Ibrahim’s deep faith that Allah would protect his family and fulfill His promise.
Hajar’s Faith and Trust in Allah
As Prophet Ibrahim continued walking away, Hajar called out to him several times, asking where he was going and why he was leaving them in such a desolate place. At first, Ibrahim did not respond.
Finally, Hajar asked a question that revealed the depth of her faith:
“Did Allah command you to do this?”
When Ibrahim answered yes, her response showed complete trust in Allah’s plan.
She said:
“Then Allah will not neglect us.”
(Sahih al-Bukhari, Hadith 3364)
These simple yet powerful words capture the essence of the Safa and Marwa story. Despite the uncertainty and hardship ahead, Hajar believed that Allah would never abandon them.
Her faith would soon be tested, but it would also lead to one of the greatest miracles in Islamic history and the beginning of a story that continues to inspire millions of believers today.
Hajar’s Search for Water Between Safa and Marwa
After Prophet Ibrahim (AS) left the valley of Makkah by the command of Allah, Hajar (RA) remained alone with her infant son, Prophet Ismail (AS). For a short time, they survived on the small amount of water and food that Ibrahim had left with them. But soon, the water ran out, and the intense heat of the desert made the situation even more difficult.
Baby Ismail began to cry from thirst, and the cries of her child filled the silent valley. As a mother, Hajar could not remain still. She began searching for water or any sign of help in the surrounding area. What followed became one of the most powerful moments in the Safa and Marwa story, a moment that would later be remembered by millions of Muslims through the ritual of Sa’i.
Climbing the Hill of Safa
Desperate to find help, Hajar climbed the nearby hill of Safa. From the top of the hill, she looked across the valley, hoping to see a traveler, a caravan, or any sign of water. The valley, however, remained empty and silent.
Despite seeing no one, Hajar did not give up. She quickly descended from Safa and ran toward another hill in the distance known as Marwa, hoping that from there she might see something different.
Her actions were driven by a mother’s love and determination to save her child.
Running Toward Marwa
As Hajar ran across the valley floor toward Marwa, her heart was filled with urgency. She was searching for any possibility of water or help for her thirsty son. When she reached the hill of Marwa, she again climbed to the top and looked around the valley.
Still, there was no one in sight.
Yet Hajar refused to lose hope. She returned again toward Safa, continuing her search with patience and determination.
Running Seven Times Between the Hills
Hajar continued moving back and forth between Safa and Marwa, searching for water or any sign of help. In total, she ran between the two hills seven times.
This act of perseverance became the origin of the ritual known as Sa’i, which Muslims perform during Hajj and Umrah today.
The Prophet Muhammad ﷺ later described this moment when explaining the ritual of Sa’i. Ibn Abbas (RA) reported:
“The people used to perform Sa’i between Safa and Marwa because of the running of Hajar between them.”
(Sahih al-Bukhari)
After her seventh journey between the hills, when Hajar returned near her child, Allah sent relief in the form of a miracle that would change the history of Makkah forever. Her patience and trust in Allah had not gone unnoticed, and the reward of her faith was about to appear in the form of the blessed Zamzam well.
The Miracle of Zamzam
After Hajar (RA) ran seven times between Safa and Marwa, exhausted yet still hopeful, she returned to the place where her infant son Ismail (AS) was lying. The valley remained silent, and there was still no sign of water or people. Yet at that very moment, when her effort had reached its limit, Allah sent a miracle that would change the history of Makkah forever.
The miracle that followed is remembered today as the origin of the blessed Zamzam well, a source of water that has continued to flow for thousands of years.
Angel Jibreel Appears
As Hajar approached her child, she suddenly heard a sound near the place where baby Ismail was lying. According to authentic narrations, Angel Jibreel (Gabriel) appeared by the command of Allah.
Jibreel struck the ground with either his wing or his heel near the spot where Ismail was resting. Immediately, something extraordinary happened.
This moment is described in the narration of Ibn Abbas (RA), where the Prophet Muhammad ﷺ explained the story of Hajar and Ismail. The narration mentions that Jibreel struck the earth and water began to emerge.
(Sahih al-Bukhari, Hadith 3364)
What had once been a dry and lifeless valley was about to receive a blessing that would sustain generations.
The Appearance of the Zamzam Well
When Jibreel struck the ground, water suddenly began to flow from the earth. Hajar quickly rushed toward the flowing water, relieved that Allah had answered her prayers.
The water that appeared became known as Zamzam, and it continued to flow from the same place where baby Ismail had been lying. This miraculous spring soon became the lifeline of the valley of Makkah.
The Prophet Muhammad ﷺ later spoke about the special nature of Zamzam water:
“The water of Zamzam is for whatever it is drunk for.”
(Sunan Ibn Majah, Hadith 3062)
Even today, millions of pilgrims drink Zamzam water when visiting Makkah, remembering the miracle that began with Hajar’s patience and faith.
Hajar Protecting the Water
When Hajar saw the water flowing, she feared that it might spread across the desert and disappear. To protect it, she began gathering sand and stones around the flowing water to contain it.
According to the narration in Sahih al-Bukhari, Hajar repeatedly said the words “Zam Zam”, meaning stop flowing or stay gathered, as she tried to control the water.
The Prophet Muhammad ﷺ later said:
“May Allah have mercy on the mother of Ismail. If she had not controlled the water, Zamzam would have been a flowing river.”
(Sahih al-Bukhari)
Through this miracle, the once empty valley of Makkah gained a permanent source of water. Travelers and tribes soon began to settle in the area because of Zamzam, eventually transforming the valley into a living city.
The miracle of Zamzam remains one of the most powerful moments in the Safa and Marwa story, showing that patience, effort, and trust in Allah are always rewarded with His mercy.
How the Safa and Marwa Story Changed Makkah Forever
The events of the Safa and Marwa story did not only bring relief to Hajar (RA) and her son Prophet Ismail (AS). They also transformed the empty valley of Makkah into a place of life, settlement, and spiritual significance. What was once a barren desert with no people and no water gradually became a thriving community and eventually the most sacred city in Islam.
The miracle of Zamzam and the patience of Hajar marked the beginning of a new chapter in the history of Makkah.
The Settlement of the Jurhum Tribe
After the appearance of the Zamzam well, the once silent valley began to attract travelers passing through the region. One of the first groups to notice the presence of water was the Jurhum tribe, an Arab tribe traveling through the area.
According to historical narrations, members of the tribe saw birds circling above the valley, which often indicated the presence of water. Curious about this unusual sight in such a dry region, they sent someone to investigate. When they discovered the flowing water of Zamzam, they realized that the valley was no longer empty.
The Jurhum tribe approached Hajar (RA) and asked for permission to settle near the water. She agreed on the condition that the well would remain under her authority.
This moment marked the beginning of the first community in Makkah.
The story is mentioned in the narration reported by Ibn Abbas (RA), where the Prophet Muhammad ﷺ described how the tribe settled near Hajar and Ismail.
(Sahih al-Bukhari, Hadith 3364)
Makkah Becoming a Living City
As the Jurhum tribe settled in the valley, life slowly began to grow in the region. Houses were built, travelers passed through, and the once empty land became a place where people could live and thrive.
Prophet Ismail (AS) grew up among the Jurhum tribe and learned the Arabic language from them. As he matured, he became known for his character and righteousness, eventually marrying from the tribe itself.
With time, the valley of Makkah transformed into an active settlement. The presence of Zamzam ensured that travelers and tribes continued to visit and settle in the area.
The valley that once seemed impossible for survival had now become a center of life and community.
The Beginning of a Sacred Land
The transformation of Makkah did not stop with the settlement of tribes. Later in history, Prophet Ibrahim (AS) returned to the valley with his son Ismail (AS) to build the Kaaba, the sacred house dedicated to the worship of Allah.
The Quran mentions this moment when Allah commanded Ibrahim and Ismail to raise the foundations of the Kaaba:
“And when Ibrahim was raising the foundations of the House with Ismail…”
(Quran 2:127)
From that point onward, Makkah became a sacred place of worship for believers. Pilgrims began visiting the Kaaba, and the ritual of Sa’i between Safa and Marwa became part of the pilgrimage.
Thus, the Safa and Marwa story did not only tell the story of a mother searching for water. It marked the beginning of a city that would become the spiritual center of Islam and a destination for millions of pilgrims from around the world.
Safa and Marwa in the Quran
The importance of Safa and Marwa is clearly mentioned in the Quran, highlighting their spiritual significance in Islam. These two hills are not simply historical locations connected to the story of Hajar (RA); they are also recognized in the Quran as sacred symbols associated with the worship of Allah.
The Quran confirms that walking between Safa and Marwa is an act of devotion and an important part of the pilgrimage rituals performed during Hajj and Umrah.
Surah Al-Baqarah (2:158)
Allah directly mentions Safa and Marwa in Surah Al-Baqarah. The verse says:
“Indeed, Safa and Marwa are among the symbols of Allah. So whoever performs Hajj to the House or performs Umrah, there is no blame upon him for walking between them. And whoever volunteers is good – then indeed, Allah is Appreciative and Knowing.”
(Quran 2:158)
This verse confirms that the hills of Safa and Marwa hold special significance in Islam and that walking between them is a legitimate and meaningful act of worship during pilgrimage.
Explanation of the Verse
Islamic scholars explain that this verse was revealed to clarify the importance of Sa’i between Safa and Marwa. Before Islam, some people hesitated to perform this ritual because certain practices associated with these hills existed during the time of ignorance.
The verse made it clear that Safa and Marwa are not connected to those old practices but are instead symbols established by Allah. Therefore, walking between them during Hajj or Umrah is not only allowed but is part of the sacred rituals of pilgrimage.
The Prophet Muhammad ﷺ also performed Sa’i during his pilgrimage and encouraged his companions to follow this practice.
Safa and Marwa as Symbols of Allah
In the Quran, Safa and Marwa are described as “Sha'a'ir Allah”, which means the symbols or sacred signs of Allah. These symbols serve as reminders of important moments of faith and obedience in Islamic history.
The hills of Safa and Marwa represent the patience and trust of Hajar (RA), whose struggle in search of water became a lesson for all believers. Because of her faith and perseverance, Allah honored this event by making it a permanent part of the pilgrimage rituals.
Today, when pilgrims perform Sa’i between Safa and Marwa, they are not only following a religious obligation but also remembering a powerful story of faith that has been preserved in both the Quran and the traditions of the Prophet ﷺ.
Why Muslims Perform Sa’i Today
The ritual of Sa’i between Safa and Marwa is one of the most meaningful acts of worship during Hajj and Umrah. For Muslims, this ritual is not simply a physical journey between two hills. It is a powerful reminder of faith, perseverance, and the mercy of Allah. Every step taken during Sa’i connects pilgrims to the inspiring story of Hajar (RA) and her unwavering trust in Allah during a moment of extreme hardship.
Through this ritual, Muslims remember a story that took place thousands of years ago but continues to carry deep spiritual meaning today.
Remembering Hajar’s Struggle
The main reason Muslims perform Sa’i between Safa and Marwa is to remember the struggle of Hajar (RA). When her infant son Prophet Ismail (AS) became thirsty in the barren valley of Makkah, she ran between the hills of Safa and Marwa searching for water or help.
Her actions were driven by a mother’s love and her strong belief that Allah would provide a solution. She ran between the two hills seven times, refusing to give up hope even when the valley appeared completely empty.
Her patience and determination were rewarded when Allah sent the miracle of the Zamzam well, which began to flow near Ismail.
Because of this powerful moment, Muslims retrace her steps during pilgrimage. By performing Sa’i, pilgrims remember that sincere effort and trust in Allah are essential parts of faith.
The Ritual of Sa’i During Hajj and Umrah
Today, Sa’i between Safa and Marwa is an essential ritual performed during both Hajj and Umrah. Pilgrims walk seven times between the two hills, beginning at Safa and ending at Marwa.
The Prophet Muhammad ﷺ performed this ritual during his pilgrimage and instructed Muslims to follow his example. Jabir ibn Abdullah (RA) described the Prophet’s practice during Hajj and reported:
“The Prophet ﷺ began with Safa and performed Sa’i between Safa and Marwa.”
(Sahih Muslim, Hadith 1218)
Because of the Prophet’s example, Sa’i became a required part of the pilgrimage.
Spiritual Meaning Behind the Ritual
Beyond its historical origins, Sa’i between Safa and Marwa carries a deep spiritual message for Muslims. It teaches that faith is not only about prayer and worship but also about effort and perseverance.
Hajar did not remain still while waiting for help. She continued searching, moving, and striving while trusting in Allah’s plan. Her actions remind believers that they must also strive in their lives while relying on Allah’s mercy.
The ritual of Sa’i therefore represents a balance between human effort and divine trust. As pilgrims walk the path between Safa and Marwa, they reflect on patience, hope, and the belief that Allah always provides a way for those who sincerely rely on Him.
Lessons from the Safa and Marwa Story
The Safa and Marwa story is not only a historical event remembered during Hajj and Umrah. It carries deep spiritual lessons that continue to guide Muslims in their daily lives. The experience of Hajar (RA) in the desert valley of Makkah teaches believers about faith, patience, and the balance between effort and trust in Allah.
Every time pilgrims perform Sa’i between Safa and Marwa, they are reminded of these powerful lessons and the values that Islam encourages believers to uphold.
Trust in Allah (Tawakkul)
One of the greatest lessons from the Safa and Marwa story is the concept of tawakkul, or complete reliance on Allah. When Prophet Ibrahim (AS) left Hajar (RA) and baby Ismail (AS) in the barren valley by Allah’s command, the situation seemed impossible.
Yet Hajar did not despair. When she asked Ibrahim if this was Allah’s command and he confirmed it, she replied with unwavering faith:
“Then Allah will not neglect us.”
(Sahih al-Bukhari, Hadith 3364)
Her response reflects the true meaning of tawakkul—believing that Allah’s wisdom and mercy will guide the outcome, even when the situation appears uncertain.
Patience During Hardship
The Safa and Marwa story also teaches the importance of patience during difficult times. Hajar faced an overwhelming situation: a desert with no water, no people, and a thirsty child crying beside her.
Despite the hardship, she did not give up. She ran between Safa and Marwa seven times searching for water, showing patience and determination.
The Quran reminds believers of the value of patience:
“Indeed, Allah is with those who are patient.”
(Quran 2:153)
Through this story, Muslims learn that patience combined with faith often leads to Allah’s mercy and relief.
The Strength of a Mother’s Faith
Another powerful lesson from the Safa and Marwa story is the strength and importance of a mother’s faith. Hajar (RA) was not a prophet, yet her courage, determination, and trust in Allah became part of a sacred ritual practiced by millions of Muslims every year.
Her actions demonstrate the strength of a mother’s love and her willingness to struggle for the well-being of her child. Because of her perseverance, Allah honored her effort by making the journey between Safa and Marwa a permanent part of the pilgrimage.
This recognition highlights the respect Islam gives to the sacrifices and strength of mothers.
The Importance of Effort in Islam
The story also shows that faith does not mean waiting passively for help. Hajar did not remain still when her child needed water. Instead, she actively searched for a solution, running between Safa and Marwa again and again.
Her actions demonstrate that Islam encourages believers to make effort while trusting in Allah. Human effort and reliance on Allah go hand in hand.
The miracle of Zamzam appeared only after Hajar had done everything she could. This teaches believers that sincere effort, combined with faith, can lead to unexpected blessings from Allah.
Safa and Marwa Today
Today, Safa and Marwa remain among the most visited sacred places in the world. What was once a quiet desert valley where Hajar (RA) ran in search of water has now become part of the magnificent Masjid al-Haram in Makkah. Despite the modern developments and expansions of the mosque, the spiritual significance of Safa and Marwa has remained unchanged.
Every year, millions of Muslims walk the same path that Hajar once ran, remembering her faith, patience, and unwavering trust in Allah.
Location Inside Masjid al-Haram
Today, Safa and Marwa are located inside the sacred complex of Masjid al-Haram, the Grand Mosque that surrounds the Holy Kaaba in Makkah. The two hills are positioned within a dedicated corridor known as the Masaa, which connects Safa and Marwa.
Pilgrims performing Hajj or Umrah move between these two points while completing the ritual of Sa’i. Clear markers and signs indicate the locations of Safa and Marwa, making it easy for pilgrims to start and complete the seven rounds of Sa’i correctly.
Although the surrounding area has been developed and expanded, the original locations of the hills have been preserved so that pilgrims continue to walk along the same sacred route connected to the story of Hajar.
Modern Sa’i Walkway
To accommodate the growing number of pilgrims visiting Makkah each year, the Sa’i corridor has been expanded and modernized over time. Today, the pathway between Safa and Marwa is a wide, well-organized walkway designed to allow large numbers of people to perform Sa’i comfortably.
The corridor includes multiple levels, air-conditioned areas, clear lighting, and smooth walking surfaces. There are also designated lanes for wheelchairs and mobility scooters, ensuring that elderly and disabled pilgrims can perform Sa’i with ease.
Escalators and elevators help pilgrims move between different levels of the Sa’i area, making the journey more accessible for everyone.
Millions of Pilgrims Walking the Same Path
Each year, millions of Muslims from around the world visit Makkah for Hajj and Umrah. During their pilgrimage, they walk between Safa and Marwa, following the same path taken by Hajar thousands of years ago.
For many pilgrims, this moment becomes deeply emotional. As they perform Sa’i between Safa and Marwa, they reflect on the story of Hajar’s patience and the miracle of Zamzam that followed her struggle.
Even with modern buildings and facilities surrounding the area, the spiritual meaning of Safa and Marwa continues to inspire believers. The journey between these two hills remains a timeless reminder that faith, effort, and trust in Allah can transform hardship into blessing.
Conclusion
The Safa and Marwa story remains one of the most powerful and meaningful narratives in Islamic history. It tells the story of Hajar’s faith, determination, and unwavering trust in Allah during a moment of great hardship. What began as a mother’s desperate search for water in the desert valley of Makkah later became a story remembered by millions of Muslims around the world.
This story also shaped an essential part of Islamic pilgrimage. The ritual of Sa’i between Safa and Marwa, performed during Hajj and Umrah, allows pilgrims to retrace the same path that Hajar once walked while searching for water for her son. Through this act, Muslims honor her perseverance and remember the miracle of the Zamzam well that followed.
Beyond its historical significance, the Safa and Marwa story offers timeless spiritual lessons. It reminds believers that faith in Allah, patience during hardship, and sincere effort are always rewarded with His mercy. Even in the most difficult moments, the story encourages Muslims to trust that Allah’s help can arrive in ways they may not expect.