JannatulBaqi (Garden of Heaven) is the main cemetery of Madinah. Buried here are many members of the Prophet’s close family, around ten thousand of his companions (Sahabah) and many prominent, pious personalities.
The first companion buried in al-Baqi was Uthman b. Madhoon who died on the 3rd of Sha'ban in the 3rd year of Hijrah. The Prophet (s) ordered certain trees to be felled, and in its midst, he buried his dear companion, placing two stones over the grave.
On the following years, the Prophet's son Ibrahim, who died in infancy and over whom the Prophet (s) wept bitterly, was also buried there. The people of Madina then began to use that site for the burial of their own dead, because the Prophet (s) used to greet those who were buried in al-Baqi by saying, "Peace be upon you, O abode of the faithful! God willing, we should soon join you. O' Allah, forgive the fellows of al-Baqi".
The site of the burial ground at al-Baqi was gradually extended. Nearly ten thousand companions of the Holy Prophet (s) were buried there, not to mention those of the AhlulBayt (a). Imam Hasan b. Ali (a), Imam Ali b. al-Husayn (a), Imam Muhammad al-Baqir (a), and Imam Ja'far al-Sadiq (a) were all buried there.
Among other relatives of the Prophet (s) who were buried at al-Baqi are: his aunts Safiya and Aatika, and his aunt Fatima bint al-Asad, the mother of Imam Ali (a). The third caliph Uthman was buried outside al-Baqi, but with later extensions, his grave was included in the area. In later years, great Muslim scholars like Malik bin Anas and many others, were buried there too.