The Prophet ﷺ's mosque, built on a plantation-drying ground bought from the orphans Sahal and Suhayl shortly after the Hijrah. Its front and back walls were made from the date-palms the Prophet ﷺ had cut down there; the other walls were clay brick. It had three public doors: Bab al-Rahma (south), Bab Jibril (west), and Bab al-Nisa' (east), plus at least half a dozen private entrances from adjoining houses, including those of Abu Bakr RA and the Prophet ﷺ's own house (Aisha RA's house). The northern portion, facing the original qibla toward Jerusalem, was roofed first and became known as al-Suffa after the qibla changed to Makkah.