Jannat al-Baqi is the main cemetery of Madinah, located adjacent to Masjid al-Nabawi. It contains the graves of approximately 10,000 companions of Nabi, including Uthman ibn Affan, many wives of Nabi, his son Ibrahim, and numerous scholars. Nabi regularly visited Baqi to pray for its inhabitants.
Jannat al-Baqi (Garden of al-Baqi) is one of the oldest and most significant cemeteries in Islam. Located immediately adjacent to the southeastern wall of Masjid al-Nabawi, it has been the primary burial ground of Madinah since the earliest Islamic period. Among those buried here are: Uthman ibn Affan (the third Rightly Guided Caliph), many of Nabi's wives (Ummahat al-Mu'minin), Nabi's son Ibrahim who died in infancy, Nabi's grandson Hasan ibn Ali, Nabi's uncle Abbas ibn Abdul Muttalib, and thousands of Nabi's companions (Sahabah), scholars, and righteous individuals. Estimates suggest approximately 10,000 companions alone are buried in Baqi.
Nabi Muhammad (shallallahu alaihi wa sallam) regularly visited Baqi to pray for its inhabitants. Aisha reported that he would go to Baqi at night, raise his hands, and pray for the deceased. He taught the doa for visiting cemeteries: 'Peace be upon you, O inhabitants of the graves, among the believers and Muslims. Indeed, we will follow you, if Allah wills. I ask Allah for well-being for us and for you' (Muslim). Nabi also said, 'I had haram you from visiting graves, but now visit them, for they remind you of the Hereafter' (Muslim). Visiting Baqi during a stay in Madinah is sunnah following this prophetic practice.
Baqi is open to male pengunjung during specific hours (typically after morning and afternoon shalat). Women's access policies vary and should be confirmed with local guidelines. When visiting, enter with the right foot and recite the doa for entering cemeteries. Walk between the graves with respect — do not step on graves or sit on them. Face the graves and offer salam and doa for the deceased. Do not engage in any practices that contradict Islamic monotheism — seeking intercession from the dead, making vows at graves, or asking the deceased for help are all prohibited. The purpose of the visit is to remember death, pray for the deceased, and renew one's own commitment to righteous living.