Ziyarah in Madinah Sites | Quba, Qiblatain & Seven Mosques

In Madinah, a Ziyarah is more than simply moving from one landmark to another. It offers visitors an opportunity to discover places connected to the life of the Prophet Muhammad (PBUH) and the history of Islam. From the Prophet’s Mosque, your visit can extend to Quba Mosque, Al-Qiblatain Mosque, and the area of the Seven Mosques, where important moments from the history of Madinah come to life.


As these sites differ in their nature and significance, it is important to distinguish between places for which a specific religious virtue has been established and landmarks whose significance is primarily historical. Quba Mosque, for example, has an established virtue associated with praying there, while the significance of Al-Qiblatain Mosque and the Seven Mosques is primarily connected to historical events and the Seerah.


In this guide, we explore some of the most prominent Madinah Ziyarah sites, the events associated with each, and what visitors can know before including them in their Madinah itinerary.

Madinah Ziyarah Sites: Where Worship Meets History

Madinah is home to many sites connected to the Seerah and the history of Islam, each telling a different part of the story of the city that welcomed the Prophet Muhammad (PBUH) after the Hijrah and witnessed important stages in the development of the Muslim community.


That is why answering the question of what to do in Madinah goes beyond simply listing landmarks. A more meaningful visit begins with understanding the story behind each place and what it represents before adding it to your itinerary.


At Quba Mosque, you stand at the site of the first mosque built in Islam and learn about its significance and the virtue of praying there. The Prophet Muhammad (PBUH) would visit Quba and pray there. At Al-Qiblatain Mosque, you can reflect on the moment when the direction of prayer was changed from Bayt Al-Maqdis to the Ka'bah, one of the defining events associated with the mosque and the Seerah. The Seven Mosques, meanwhile, are located in the area associated with the Battle of the Trench, while the buildings themselves were constructed after the time of the Prophet (PBUH) and his Companions (RA) to commemorate the events of the battle and the roles of some of the Companions.


In this way, Madinah Ziyarah sites become more than points on a map. They are places through which visitors can explore the city's history and understand the events that shaped its identity and place in Islamic history.


This also makes it important to understand the difference between sites associated with an established religious virtue and those visited to learn about history and the Seerah. Quba Mosque, for instance, has an established virtue associated with prayer there, while the Seven Mosques are primarily a historical landmark connected to the Battle of the Trench. Understanding this distinction gives each stop its proper context and makes the visit more meaningful.


Your Madinah itinerary can begin at the Prophet’s Mosque and continue to Quba Mosque, Al-Qiblatain Mosque, and the Seven Mosques, along with other landmarks across the city. The purpose is not to turn the visit into a race from one site to another, but to give each stop time, understand its story, and choose an itinerary that suits your schedule and preferred means of transportation.

 

Quba Mosque: The Mosque at the Beginning of the Hijrah

 

On the outskirts of Madinah stands Quba Mosque, the first mosque built in Islam and one of the most significant landmarks visitors include in their Madinah Ziyarah itinerary.


Its foundation is closely associated with the arrival of the Prophet Muhammad (PBUH) at Quba during the Hijrah. The Prophet (PBUH) laid the foundation of the mosque, which was then built by the Muhajirun and Ansar. It subsequently became a place of prayer and worship and has remained an important landmark throughout the history of Madinah.


Quba Mosque also holds a special religious significance because of the established virtue of praying there. It is authentically reported that the Prophet Muhammad (PBUH) would visit Quba, sometimes walking and sometimes riding, and pray there. A narration from Sahl ibn Hunayf (RA) also reports that the Prophet (PBUH) said that whoever purifies himself at home, then comes to Quba Mosque and prays there, receives a reward like that of Umrah.


For this reason, a Quba Mosque guide should go beyond its historical importance. The mosque also has an established religious significance in the Sunnah, giving visitors the opportunity to combine learning about the beginnings of Madinah with prayer and worship.


Today, Quba Mosque is connected to the Prophet’s Mosque by the Quba Walking Trail, a pedestrian route stretching approximately 3 km and offering visitors a way to reach the mosque on foot while experiencing the area and facilities along the route.

 

What Can You Do When Visiting Quba Mosque?

 

A visit to Quba does not require a complicated itinerary. Visitors can enter the mosque and pray there, observing the etiquette of the mosque and being considerate of other worshippers.


The experience can also be an opportunity to reflect on the history of the place itself: the site where the Prophet Muhammad (PBUH) and the early Muslim community began building an important part of Madinah after the Hijrah.

 

Al-Qiblatain Mosque: Where the Direction of Prayer Changed

 

Among the most significant Madinah Ziyarah sites connected to the Seerah is Al-Qiblatain Mosque.
Located in the area of Banu Salimah, northwest of the Prophet’s Mosque, the mosque is associated with the moment when the direction of prayer changed from Bayt Al-Maqdis to the Ka'bah.


During the second year after the Hijrah, the Prophet Muhammad (PBUH) was praying Dhuhr with his Companions when the revelation came commanding the change of the Qiblah.


The Prophet (PBUH) then turned toward the Ka'bah while still in prayer. This is why the mosque became known as Al-Qiblatain, or the Mosque of the Two Qiblahs. The event took place in 2 AH, corresponding to 624 CE.


The historical significance of Al-Qiblatain Mosque lies in its connection to this pivotal moment in Islamic history, when Al-Masjid Al-Haram became the direction of prayer for Muslims. The story of the change of Qiblah remains an important part of the Seerah and the development of the Muslim community.


Visitors do not need to perform a specific act of worship simply because they are visiting the site. Its inclusion in a Madinah Ziyarah itinerary is primarily an opportunity to learn about the event that took place there and understand its place in Islamic history.

 

The Seven Mosques in Madinah: Remembering the Battle of the Trench

 

At the foot of Mount Sila', north of Madinah, lies a group of historical mosques commonly known today as the Seven Mosques. The area is associated with the Battle of the Trench, also known as the Battle of the Confederates, when the Muslims defended Madinah against the confederate forces and dug a trench as part of their defense.


There is an important detail visitors should know, however: the name “Seven Mosques” does not mean that seven mosques stood at this location during the time of the Prophet Muhammad (PBUH). According to official sources, The present day mosques were built after the Prophet’s time at locations associated with the Battle of the Trench. and the roles played by some of the Companions.


The group was historically known as the Al-Fath Mosques and was not always made up of seven mosques. The number and names associated with the group varied over time, and Al-Qiblatain Mosque was later included in some visitor routes because of its relative proximity.


Today, five of the historic mosques remain at the site. They are Al-Fath Mosque, Salman Al-Farisi Mosque, Ali ibn Abi Talib Mosque, Omar ibn Al-Khattab Mosque, and Sa'd ibn Mu'adh Mosque, which is currently known as Fatimah Al-Zahra Mosque. Abu Bakr Al-Siddiq Mosque was demolished and its remains removed.

 

Al-Fath Mosque

 

Al-Fath Mosque is the largest of the historic mosques in the group and stands on a hill on the western slope of Mount Sila'.


The site is traditionally associated with a supplication made by the Prophet Muhammad (PBUH) during the Battle of the Trench, when he prayed to Allah (SWT) for victory for the Muslims. Historical sources recount a narration concerning the Prophet's (PBUH) supplication at this location during the battle and its acceptance.

 

Salman Al-Farisi Mosque

 

The mosque is named after Salman Al-Farisi (RA), the Companion whose suggestion to dig the trench played an important role in the Muslim defense of Madinah during the Battle of the Confederates.
The story of the trench remains one of the notable examples in the Seerah of planning, consultation, perseverance, and collective effort in defending Madinah.

 

Ali ibn Abi Talib Mosque and Omar ibn Al-Khattab Mosque


These two mosques bear the names of Ali ibn Abi Talib (RA) and Omar ibn Al-Khattab (RA), two prominent Companions whose names are closely connected to the early history of Islam and Madinah.
Both are located within the historic mosque area at the foot of Mount Sila'.

 

Why Do People Visit the Seven Mosques?


A visit to the Seven Mosques is primarily historical. It offers visitors an opportunity to learn about the area associated with the Battle of the Trench and reflect on the events that took place in Madinah during that period.


It is important not to regard these mosques as places with a specific established devotional virtue simply because they form part of a well-known Ziyarah route. Islamic sources distinguish between mosques for which a particular virtue of prayer has been established, such as the Prophet’s Mosque and Quba Mosque, and other historical sites where no specific virtue for visiting or praying has been established.


This distinction gives the Seven Mosques their proper context. They can be visited to learn about the history of Madinah and the Battle of the Trench, rather than as places associated with a specific act of worship.

 

How to Organize Your Madinah Ziyarah Itinerary


Madinah gives visitors the opportunity to explore important chapters of the Seerah and Islamic history while spending time at the Prophet’s Mosque and other significant landmarks. Your Madinah Ziyarah itinerary can therefore remain flexible, allowing you to choose the places you would like to explore and arrange them according to your schedule and preferred means of transportation.


You can begin with the Prophet’s Mosque, then set aside time for Quba Mosque, the first mosque built in Islam, and Al-Qiblatain Mosque, where you can learn about the historic change in the direction of prayer.

 

 Your itinerary can also include the Seven Mosques and the area associated with the Battle of the Trench.
The length of the itinerary varies from one visitor to another depending on the number of sites included, the time spent at each location, and how you travel between them. Several landmarks can be visited in one day, while visitors who prefer a slower pace can spread their Ziyarah across more than one day.


Most importantly, your Madinah Ziyarah itinerary can be an opportunity to learn about the city, its landmarks, and the events that shaped an important part of the Seerah, rather than simply a list of places to check off. Each stop has a story, and each site can add another dimension to your understanding of Madinah and its Islamic heritage.

 

Stop One: The Prophet’s Mosque


Begin your visit at the Prophet’s Mosque, the heart of any stay in Madinah. Set aside time for prayer and worship, allowing your visits to historical landmarks to complement rather than replace the time you wish to spend at the mosque.


Stop Two: Quba Mosque


Set aside time to visit Quba Mosque and pray there. Its location makes it easy to include in a Madinah itinerary, and visitors can also reach it via the Quba Walking Trail from the Prophet’s Mosque.


Stop Three: Al-Qiblatain Mosque


Include Al-Qiblatain Mosque as part of your historical tour to learn about the change of the Qiblah and visit one of the landmarks associated with this important moment in the Seerah.


Stop Four: The Seven Mosques


Continue to the Seven Mosques area to learn about the historic mosques associated with the Battle of the Trench and explore the area around Mount Sila'.


You do not need to visit all these sites in one day. If your schedule is busy, spreading the visits across more than one day can allow you to explore each place at a more comfortable pace rather than turning the Ziyarah into a demanding schedule.

 

Do You Need a Guide?


A guide is not required to visit these landmarks. Visitors can explore them independently and use reliable sources to learn about the history and significance of each site.


However, a qualified guide can be useful for visitors who would like a deeper understanding of the historical context, particularly when visiting sites associated with the Battle of the Trench or the change of the Qiblah. In all cases, it is best to rely on trustworthy sources when learning about the history of these landmarks, as some stories circulated about historical sites may differ from documented accounts.

 

Staying Near the Prophet’s Mosque


After a day spent between prayer, exploration, and discovering the history of Madinah, having a comfortable place to return to becomes an important part of the experience. Choosing accommodation close to the Prophet’s Mosque can give you greater flexibility when balancing worship, sightseeing, and rest.


At Makarem Burj Al Madinah Hotel and Suites, guests benefit from a location just a few minutes’ walk from the Prophet’s Mosque, with convenient access to the women’s gate. This makes it a practical choice for visitors who want to remain close to the mosque throughout their stay.


Meanwhile, Makarem Haram View Suites offers a convenient location near the Prophet’s Mosque and significant religious landmarks in Madinah, providing a comfortable base for days spent exploring the city.

 

Frequently Asked Questions About Madinah Ziyarah Sites


Is visiting the Ziyarah sites in Madinah religiously obligatory?


No. Visiting historical landmarks such as Al-Qiblatain Mosque and the Seven Mosques is not a religious obligation. Visiting Quba Mosque and praying there, however, is a recommended act established in the Sunnah. A visit to any particular historical site should not be considered obligatory simply because it is a well-known Madinah landmark.

 

How long does a full Ziyarah tour of Madinah take?


There is no fixed duration for a Madinah Ziyarah tour. The time required depends on the number of sites you choose to visit, the time spent at each one, and how you travel between them. A flexible itinerary is therefore more practical than following one fixed duration for every visitor.


Can I visit Quba Mosque and the Seven Mosques in one day?


Yes. From a practical standpoint, you can include both Quba Mosque and the Seven Mosques in the same day. However, there is no requirement to combine them into one tour. Your choice can depend on your schedule, transportation, and the amount of time you would like to spend at each site. You can also spread the visits over more than one day if you prefer a slower pace.


Do I need a guide or can I visit these sites independently?


You can visit these landmarks independently and use reliable sources to learn about their history and significance. A qualified guide may be helpful if you would like a deeper explanation of the Seerah and the historical context of sites associated with the Battle of the Trench.


What is the historical significance of Masjid Qiblatain?


The significance of Al-Qiblatain Mosque is connected to the change of the Qiblah from Bayt Al-Maqdis to the Ka'bah. The Prophet Muhammad (PBUH) was praying with his Companions when revelation came commanding the Muslims to face Al-Masjid Al-Haram. The Prophet (PBUH) turned toward the new Qiblah during the prayer. The event took place in the second year after the Hijrah and became associated with the mosque, giving it the name Al-Qiblatain, or the Mosque of the Two Qiblahs.


Were the Seven Mosques present during the time of the Prophet Muhammad (PBUH)?


No. The existing mosques in the Seven Mosques area were built after the time of the Prophet Muhammad (PBUH) to commemorate the events of the Battle of the Trench and the roles of some of the Companions (RA). The designation “Seven Mosques” is also relatively recent. Historically, the group was known as the Al-Fath Mosques and consisted of six mosques before the name and visitor route evolved over time.


Is there a specific act of worship associated with the Seven Mosques?


There is no established specific act of worship or special virtue associated with praying at the Seven Mosques simply because they form part of this historic group. Their primary significance is their connection to the Battle of the Trench and the history of Madinah. Quba Mosque, by contrast, has authentic narrations establishing the virtue of praying there.