Islamic Manual

Jannat al-Baqi, Masjid Quba, and other places to visit in Madinah

The graves in the Baqi graveyard, the martyrs of Uhud, and the historic mosques of Madinah, including Masjid Quba.

Every day after visiting the Prophet's ﷺ grave, it is good to visit Jannat al-Baqi, the graveyard where thousands of his Companions are buried, and to say a dua for them.

Said when visiting graves

سَلَامٌ عَلَيْكُمْ بِمَا صَبَرْتُمْ فَنِعْمَ عُقْبَى الدَّارِ سَلَامٌ عَلَيْكُمْ دَارَ قَوْمٍ مُّؤْمِنِينَ وَ إِنَّا إِنْ شَآءَ اللَّهُ بِكُمْ لَا حِقُونَ

Salāmun ʿalaykum bimā ṣabartum fa-niʿma ʿuqba'd-dār. Salāmun ʿalaykum dāra qawmin mu'minīn, wa innā in shā'a'llāhu bikum lāḥiqūn.

Peace be upon you for your patience; excellent is the end of the home. Peace be upon you, the home of the believing people, and surely, if Allah wills, we will be joining you.

It is also recommended to visit the martyrs of Uhud, especially on Thursdays, and to pray for them.

Recommended (Mustaḥabb)good to do

It is recommended to visit Jannat al-Baqi each day after visiting the Prophet's ﷺ grave, and to visit the martyrs of Uhud, especially on Thursdays, praying for all of them; the Prophet ﷺ himself used to go out to al-Baqi and pray for those buried there.

The Prophet’s practice (Sunnah)the Prophet’s way

When visiting the graves, the Prophet's ﷺ way is to greet the people buried there with peace and to pray for them, as he taught his Companions to do.

There is also a mosque outside the city called Masjid Quba, where two rakats of prayer are said to be worth as much as a whole Umrah. It is well worth visiting and praying in, along with the other historic mosques of Madinah.

Recommended (Mustaḥabb)good to do

It is recommended to visit Masjid Quba and pray two rakats there, which are said to be worth a whole Umrah; the Prophet ﷺ used to go there every Saturday. The other historic mosques of Madinah are worth visiting too.

Visiting Jannat al-Baqi daily, after the visit to the Prophet's ﷺ grave, is recommended; many thousands of Companions and Followers are buried there, though the exact location of most graves is unknown.

Notable graves in Jannat al-Baqi
Dome or grave Who is buried there
The dome of Ahl al-Bayt Al-Abbas, Imam Hasan, Imam Zain al-Abidin, Imam Muhammad al-Baqir, Imam Ja'far al-Sadiq, and (per an authentic narration) Fatimah (may Allah be pleased with them)
The dome of Uthman ibn Affan Uthman ibn Affan (may Allah be pleased with him)
The dome of Ibrahim, son of the Prophet ﷺ Ibrahim, and also Uthman ibn Maz'un, Abd al-Rahman ibn Awf, and Sa'd ibn Abi Waqqas
The graves of the Mothers of the Believers All of them except Khadijah and Maymunah (may Allah be pleased with them)
The dome of the Prophet's ﷺ daughters Excluding Fatimah
The dome of Aqil ibn Abi Talib The brother of Ali (may Allah be pleased with him)
The dome of Nafi' The freed slave of Abdullah ibn Umar
The dome of Imam Malik Imam Malik ibn Anas
The dome of Halimah al-Sa'diyyah The Prophet's ﷺ wet-nurse
The dome of Fatimah bint Asad The mother of Ali (may Allah be pleased with him)
The dome of Abu Sa'id al-Khudri Abu Sa'id al-Khudri (may Allah be pleased with him)
The dome of Safiyyah The Prophet's ﷺ paternal aunt (may Allah be pleased with her)

The last three of these domes lie outside the graveyard's boundary wall.

The Mosque of Fatimah, also called Bayt al-Huzn, stands close to the dome of Ahl al-Bayt (it is where Fatimah is said to have gone to weep after the Prophet's ﷺ passing) and prayer there is recommended too. Visiting the martyrs of Uhud on Thursdays is also recommended.

Recommended (Mustaḥabb)good to do

Visiting Jannat al-Baqi daily after the visit to the Prophet's ﷺ grave, and the martyrs of Uhud on Thursdays, is recommended; the Prophet ﷺ himself went out to al-Baqi to greet and pray for its people, and visiting graves is encouraged because it reminds one of the Hereafter.

Recited when visiting the graves

سَلَامٌ عَلَيْكُمْ بِمَا صَبَرْتُمْ فَنِعْمَ عُقْبَى الدَّارِ سَلَامٌ عَلَيْكُمْ دَارَ قَوْمٍ مُّؤْمِنِينَ وَ إِنَّا إِنْ شَآءَ اللَّهُ بِكُمْ لَا حِقُونَ

Salāmun ʿalaykum bimā ṣabartum fa-niʿma ʿuqba'd-dār. Salāmun ʿalaykum dāra qawmin mu'minīn, wa innā in shā'a'llāhu bikum lāḥiqūn.

Peace be upon you for your patience; excellent is the end of the home. Peace be upon you, the home of the believing people, and surely, if Allah wills, we will be joining you.

The Prophet’s practice (Sunnah)the Prophet’s way

On visiting the graves, the sunnah is to give the people of the graves the greeting of peace and pray for them, in the words the Prophet ﷺ taught his Companions; Ayat al-Kursi and Surah al-Ikhlas are recited afterwards.

Historic mosques of Madinah, recommended for visiting
Mosque Significance
Masjid Quba Two rakats there are said to be equal in reward to a whole Umrah; the Prophet ﷺ used to visit on Saturdays
Masjid al-Jumu'ah (also al-Wadi, al-Ataqah) Where the Prophet ﷺ prayed his first Friday prayer after arriving in Madinah
Masjid al-Fadhih (also al-Shams) Where wine was poured out on the revelation of its prohibition; the Prophet ﷺ prayed there for six days during the campaign against Banu Nadir
Masjid Banu Qurayzah East of Masjid al-Shams
Masjid Mashrub Umm Ibrahim North of Masjid Banu Qurayzah
Masjid Bani Zafar (also Masjid Baghlah) Bears reported marks of the Prophet's ﷺ elbow and his mule's hoofprint
Masjid al-Ijabah Where two of the Prophet's ﷺ duas were answered: that his Ummah not perish by famine, nor by drowning
Masjid al-Fath (also al-Ahzab, al-A'la), Masjid Salman al-Farisi, Masjid Abu Bakr, and Masjid Ali Four mosques west of Mount Sila, at the site of the Battle of the Trench (al-Ahzab)
Masjid Bani Haram In the valley of Mount Sila, on the route from Madinah to Masjid al-Fath
Masjid al-Qiblatayn Has two mihrabs: one facing Bayt al-Maqdis, one facing the Kaʿbah
Masjid al-Saqya The first mosque seen travelling from Makkah; small, about seven yards square
Masjid Raya On Mount Dhubab, on the route to Syria
Masjid Sagheer (also Masjid al-Fath) Near Sayyiduna Hamzah's shrine on the route to Uhud; associated with the revelation of Surah al-Mujadilah, verse 11
Masjid Abu Dharr al-Ghifari On the route to Hamzah's shrine
Masjid Ubayy ibn Ka'b In Baqi
Masjid Musalla Eid, and the nearby mosques of Abu Bakr, Ali, and Umar Outside the western gate

Prayer is recommended in all of these mosques.

Recommended (Mustaḥabb)good to do

Visiting Masjid Quba and praying two rakats there is recommended, the reward being likened to a whole Umrah; the Prophet ﷺ used to visit it every Saturday, walking or riding. The other historic mosques of Madinah where he prayed are recommended for visiting as well.

Daily ziyārah of Jannat al-Baqiʿ after visiting the Prophet's ﷺ grave is recommended, though the graves of most of the many thousands of Ṣaḥābah and Tābiʿūn buried there are not individually known; small marked tombs formerly stood for some of them.

Notable graves and domes in Jannat al-Baqiʿ
Dome or grave Occupants
The dome of Ahl al-Bayt Al-ʿAbbās, Imām al-Ḥasan, Imām Zayn al-ʿĀbidīn, Imām Muḥammad al-Bāqir, Imām Jaʿfar al-Ṣādiq, and (per the ṣaḥīḥ narration) Fāṭimah (raḍiya'llāhu ʿanhum)
The dome of ʿUthmān ibn ʿAffān ʿUthmān (raḍiya'llāhu ʿanhu)
The dome of Ibrāhīm ibn Khātam al-Nabiyyīn ﷺ The Prophet's ﷺ son Ibrāhīm; also ʿUthmān ibn Maẓʿūn, ʿAbd al-Raḥmān ibn ʿAwf, and Saʿd ibn Abī Waqqāṣ
The graves of the Azwāj al-Muṭahharāt All Mothers of the Believers save Khadījah and Maymūnah
The dome of the Prophet's ﷺ daughters Excludes Fāṭimah, whose grave is elsewhere per the earlier dome
The dome of ʿAqīl ibn Abī Ṭālib ʿAlī's (raḍiya'llāhu ʿanhu) brother
The dome of Nāfiʿ The mawlā of ʿAbdullāh ibn ʿUmar
The dome of Imām Mālik Imām Mālik ibn Anas
The dome of Ḥalīmah al-Saʿdiyyah The Prophet's ﷺ wet-nurse
The dome of Fāṭimah bint Asad ʿAlī's (raḍiya'llāhu ʿanhu) mother
The dome of Abū Saʿīd al-Khudrī Abū Saʿīd al-Khudrī (raḍiya'llāhu ʿanhu)
The dome of Ṣafiyyah The Prophet's ﷺ paternal aunt

The final three domes listed stand outside the graveyard's boundary wall.

Recommended (Mustaḥabb)good to do

Daily ziyārah of Jannat al-Baqīʿ after visiting the Prophet's ﷺ grave, and ziyārah of the martyrs of Uḥud on Thursdays, is mustaḥabb; the Prophet ﷺ himself went out to al-Baqīʿ at night's end to greet and seek forgiveness for its people, and ziyārat al-qubūr is encouraged as a reminder of the Hereafter.

Recited on visiting the graves

سَلَامٌ عَلَيْكُمْ بِمَا صَبَرْتُمْ فَنِعْمَ عُقْبَى الدَّارِ سَلَامٌ عَلَيْكُمْ دَارَ قَوْمٍ مُّؤْمِنِينَ وَ إِنَّا إِنْ شَآءَ اللَّهُ بِكُمْ لَا حِقُونَ

Salāmun ʿalaykum bimā ṣabartum fa-niʿma ʿuqba'd-dār. Salāmun ʿalaykum dāra qawmin mu'minīn, wa innā in shā'a'llāhu bikum lāḥiqūn.

Peace be upon you for your patience; excellent is the end of the home. Peace be upon you, the home of the believing people, and surely, if Allah wills, we will be joining you.

The Prophet’s practice (Sunnah)the Prophet’s way

On ziyārah of the graves, the sunnah is to give the ahl al-qubūr the salām and pray for them in the words the Prophet ﷺ taught his Companions, facing the graves as he did; Āyat al-Kursī and Sūrat al-Ikhlāṣ follow the duʿā.

Historic mosques of Madinah associated with the Prophet's ﷺ prayer
No. MosqueNote
1 Masjid QubāʾTwo rakʿahs there equal the reward of a full ʿUmrah; the Prophet ﷺ visited on Saturdays, reciting the duʿā given below
2 Masjid al-Jumuʿah (al-Wādī, al-ʿAtāqah)The Prophet's ﷺ first Jumuʿah in Madinah, in Banū Sālim, left of the road from Qubāʾ
3 Masjid al-Faḍīḥ (al-Shams)Named for wine (faḍīḥ) poured out here on the revelation of its prohibition; also for its hilltop catching the first sunlight; the Prophet ﷺ prayed here six days during the Banū al-Naḍīr campaign
4 Masjid Banū QurayẓahEast of Masjid al-Shams
5 Masjid Mashrūb Umm IbrāhīmNorth of Masjid Banū Qurayẓah
6 Masjid Banī Ẓafar (Masjid Baghlah, colloquially Ṣufrat al-Nabī)East of Baqīʿ; a stone here reportedly marks where reciters sat before the Prophet ﷺ, with further reported marks of his elbow and his mule's hoofprint
7 Masjid al-IjābahNorth of Baqīʿ, on raised ground; site of two answered duʿās: against famine and against drowning for the Ummah
8 Masjid al-Fatḥ (al-Aḥzāb, al-Aʿlā)One of four mosques west of Mount Silaʿ at the site of the Battle of al-Aḥzāb
9 Masjid Salmān al-FārisīThe second of the four
10 Masjid Abū BakrThe third of the four
11 Masjid ʿAlīThe fourth of the four
12 Masjid Banī ḤarāmIn the valley of Mount Silaʿ, on the route from Madinah to Masjid al-Fatḥ
13 Masjid al-QiblataynTwo miḥrābs: one toward Bayt al-Maqdis, one toward the Kaʿbah; half a league west of Masjid al-Fatḥ
14 Masjid al-SaqyāThe first mosque sighted approaching from Makkah; roughly seven yards square
15 Masjid RāyahOn Mount Dhubāb, on the Syria road, east of Mount Silaʿ
16 Masjid Ṣaghīr (also Masjid al-Fatḥ)East of Sayyidunā Ḥamzah's shrine on the Uḥud route; associated with the revelation of Sūrat al-Mujādilah 58:11
17 Masjid Abū Dharr al-GhifārīOn the route to Ḥamzah's shrine
18 Masjid Ubayy ibn KaʿbIn Baqīʿ
19 Masjid Muṣallā ʿĪdOutside the western gate
20 The mosques of Abū Bakr, ʿAlī, and ʿUmar near Masjid Muṣallā ʿĪdWell known

Prayer (ṣalāh) is recommended in every one of these mosques.

Recommended (Mustaḥabb)good to do

Ziyārah of Masjid Qubāʾ and two rakʿahs there is mustaḥabb, the reward being likened to a full ʿUmrah; the Prophet ﷺ visited it every Saturday, walking or riding, and prayed two rakʿahs there. Visiting the other historic mosques of Madinah associated with his ﷺ prayer is likewise recommended.

Recited on visiting Masjid Qubāʾ

يَا صَرِيخَ الْمُسْتَصْرِحِينَ يَا مُفَرِّجَ كَرْبِ الْمَكْرُوبِينَ يَا مُجِيبَ دَعْوَةِ الْمُضْطَرِّينَ صَلِّ عَلٰى مُحَمَّدٍ وَ اٰلِهِ اكْشِفۡ كَرْبِى وَ حُزْنِي كَمَا كَشَفْتَ عَنْ رَّسُولِكَ كَرۡبَهٗ وَ حُزْنَهٗ فِي هَذَا الْمَقَامِ يَا حَنَّانُ يَا مَنَّانُ يَا كَثِيرَ الْمَعْرُوفِ يَا دَائِمَ الْإِحْسَانِ يَا اَرْحَمَ الرَّاحِمِینَ

Yā ṣarīkha'l-mustaṣrikhīn, yā mufarrija karbi'l-makrūbīn, yā mujība daʿwati'l-muḍṭarrīn, ṣalli ʿalā Muḥammadin wa ālih. Ikshif karbī wa ḥuznī kamā kashafta ʿan rasūlika karbahū wa ḥuznahū fī hādha'l-maqām. Yā ḥannānu yā mannānu yā kathīra'l-maʿrūfi yā dā'ima'l-iḥsāni yā arḥama'r-rāḥimīn.

O Rescuer of those who call for help, O Reliever of the griefs of the troubled, O Answerer of the prayers of the desperate, send blessings upon Muhammad and his family. Relieve my grief and sorrow, as You relieved the grief and sorrow of Your Messenger at this station. O Most Compassionate, O Most Benevolent, O One of Great Favors, O Ever Generous, O Most Merciful.

This is the English translation of Nisab Ahle Khidmaat Sharia, exactly as the book has it, for the passages this page was written from. About 1,160 words. Switch back to Guide for the rewritten version.

Permissible Actions in the State of Ihram Places in Makkah and its surroundings where supplications are accepted

4. The graves of the Mothers of the Believers (Azwāj al-Muṭahharāt), in which only Hazrat Khadījah and Hazrat Maymūnah's graves are not present (May Allah be pleased with them).

5. The dome of the daughters of the Messenger of Allah (ﷺ). Hazrat Fatimah’s grave is not present there (May Allah be pleased with them).

6. The dome of Aqil bin Abi Talib, who was the brother of Hazrat Ali (May Allah be pleased with him).

7. The dome of Nafi’ who was the freed slave of Abdullah bin Umar (May Allah be pleased with him).

8. The dome of Imam Malik (May Allah have mercy on him).

9. The dome of Hazrat Halimah Sa’diyyah (May Allah be pleased with her).

10. The dome of Hazrat Fatimah bint Asad (May Allah be pleased with her), who was the mother of Hazrat Ali.

11. The dome of Hazrat Abu Sa'id Khudri (May Allah be pleased with him).

12. The dome of Hazrat Safiyyah (May Allah be pleased with her), who was the paternal aunt of the Messenger of Allah (ﷺ). However, these three domes are outside the boundary wall.

The Mosque of Fatimah, which is located in Baqi‘ and is also known as Bait al-Huzn [This location is situated to the southeast of the Dome of Ahl al-Bayt, very close. There, after the passing of the Prophet (ﷺ), Hazrat Fatimah, daughter of the Prophet, used to go and weep]. Perform the prayer there as well. On Thursdays, visiting the Martyrs of Uhud is also recommended. May Allah be pleased with them.

When visiting the graves, say:

سَلَامٌ عَلَيْكُمْ بِمَا صَبَرْتُمْ فَنِعْمَ عُقْبَى الدَّارِ سَلَامٌ عَلَيْكُمْ دَارَ قَوْمٍ مُّؤْمِنِينَ وَ إِنَّا إِنْ شَآءَ اللَّهُ بِكُمْ لَا حِقُونَ

"Peace be upon you for your patience; excellent is the end of the home. Peace be upon you, the home of the believing people, and surely, if Allah wills, we will be joining you."

Then recite Ayat al-Kursi and "قُلْ هُوَ اللّٰهُ أَحَدٌ".

It is also recommended to visit the grave of Hazrat Ismail bin Imam Ja'far al-Sadiq (May Allah have mercy on him), whose grave is located in a large dome on the western side of the city wall, near Baqi‘. Additionally, visit the grave of Hazrat Abu Sa'id Khudri’s father, Malik bin Sinan, who is buried near the gate by the western wall of the city of Madinah at the Bir Qadar site.

It is also recommended to visit the grave of Hazrat Hasan al-Muthanna’s grandson, Hazrat Mahdi al-Nafs al-Zakiyyah, who was martyred during the time of Abu Ja'far al-Mansur. His grave is located to the east of Mount Sila, outside Madinah. It is also recommended to visit the mosques where the Prophet (ﷺ) performed prayers. For example:

1. Masjid Quba where the Prophet (ﷺ) said that two units of prayer there are equal to an entire Umrah. He used to visit there on Saturdays. Upon visiting, the following prayer should be recited:

يَا صَرِيخَ الْمُسْتَصْرِحِينَ يَا مُفَرِّجَ كَرْبِ الْمَكْرُوبِينَ يَا مُجِيبَ دَعْوَةِ الْمُضْطَرِّينَ صَلِّ عَلٰى مُحَمَّدٍ وَ اٰلِهِ اكْشِفۡ كَرْبِى وَ حُزْنِي كَمَا كَشَفْتَ عَنْ رَّسُولِكَ كَرۡبَهٗ وَ حُزْنَهٗ فِي هَذَا الْمَقَامِ يَا حَنَّانُ يَا مَنَّانُ يَا كَثِيرَ الْمَعْرُوفِ يَا دَائِمَ الْإِحْسَانِ يَا اَرْحَمَ الرَّاحِمِینَ ۔

"O Rescuer of those who call for help, O Reliever of the griefs of the troubled, O Answerer of the prayers of the desperate, send blessings upon Muhammad and his family. Relieve my grief and sorrow, as You relieved the grief and sorrow of Your Messenger at this station. O Most Compassionate, O Most Benevolent, O One of Great Favors, O Ever Generous, O Most Merciful."

2. Masjid al-Jumu'ah, where the Prophet (ﷺ) performed his first Friday prayer after arriving in Madinah. This mosque is on the left side of Masjid Quba when coming towards Madinah. It is also called Masjid al-Wadi and Masjid al-Ataqah in the Banu Salim area.

3. Masjid al-Fadhih [Fadhih is a name for a kind of wine). It is said that when the verse of prohibition regarding alcohol was revealed, the wine from the flask was poured out in this mosque. This mosque is also called Masjid al-Shams because it is situated on a hilltop where the sun first rises. It is located to the east of Quba in a square-shaped compound. The Prophet (ﷺ) prayed there for six days during the time of the campaign against Banu Nadir.]

4. Masjid Banu Qurayzah, which is to the east of Masjid al-Shams.

5. Masjid Mashrub Umm Ibrahim bin Rasulullah (ﷺ), which is to the north of Masjid Banu Qurayzah.

6. Masjid Bani Zafar is to the east of Baqi'. The Prophet (ﷺ) performed Salah there. There is a stone in this mosque where the reciters were seated to recite the Qur'an under the guidance of the Prophet (ﷺ). There is also a visible mark of his elbow on one of the stones, and the print of his mule's hoof is apparent on another. This mosque is also called Masjid Baghlah, and the common people refer to it as Sufrat al-Nabi.

7. Masjid al-Ijabah, where two of the Prophet's (ﷺ) supplications were accepted: one for his Ummah not to perish from famine and the other not to be destroyed by drowning. This mosque is located to the north of Baqi' on an elevated site.

8. Masjid al-Fath, also known as Masjid al-Ahzab and Masjid al-A'la.

9. Masjid Salman al-Farisi.

10. Masjid Abu Bakr.

11. Masjid Ali.

These four mosques are located to the west of Mount Sila' at the site of the Battle of Ahzab.

12. Masjid Bani Haram: This mosque is located to the right in the valley of Mount Sila when traveling from Madinah towards Masjid al-Fath.

13. Masjid al-Qiblatain: This mosque has one mihrab (prayer niche) facing Bayt al-Maqdis (Jerusalem) and another facing the Ka’bah. It is located half a league west of Masjid al-Fath.

14. Masjid As-saqya: Located in the outskirts of Madinah, this mosque is the first to appear to a person traveling from Makkah. It is very small, measuring seven yards in length and width.

15. Masjid Raya: This mosque is situated on Mount Dhubab outside Madinah, along the path to Syria. It lies to the right of travelers heading from Madinah to Syria and is situated east of Mount Sila.

16. Masjid Sagheer: Located east of the shrine of Sayyiduna Hamzah (May Allah be pleased with him) on the route to Mount Uhud. It is also called Masjid al-Fath as the verse: يَا أَيُّهَا الَّذِينَ اٰمَنُوٓا إِذَا قِيلَ لَكُمْ تَفَسَّحُوا۔۔ الخ (Al-Mujadilah: 11) was revealed here.

17. Masjid Abu Dharr Ghifari: Located on the right side of the route towards the shrine of Sayyiduna Hamzah (May Allah be pleased with him).

18. Masjid Ubayy ibn Ka’b: Located in Baqi’.

19. Masjid Musalla Eid: Situated outside the gate towards the west.

20. Mosques near Masjid Musalla Eid: These include Masjid Abu Bakr, Masjid Ali, and Masjid Umar, which are well-known.

One should offer Salah in all these mosques.

Related