Masjid al-Khayf, positioned near the southern side of Mount Mina, adjacent to the first Jamarat, holds historical significance as it was constructed on the exact spot where Prophet Muhammad (SAW) pitched his tent and led congregational prayers during his Farewell Pilgrimage. The initial area where the Prophet (SAW) prayed was later enclosed by walls and transformed into a mosque. This mosque underwent renovations, with Abbasid Caliph Al-Wathiq Billah initiating repairs in 227 AH (842). Subsequent renovations were carried out by various Islamic states and the Ottomans.
In a significant redevelopment in 1987, the Saudi Government entirely demolished and reconstructed Masjid al-Khayf on a 25-acre site, incorporating additional structures. The name “Masjid al-Khayf” originates from the concern of Prophet Ibrahim (AS) when he took his son Isma’il (AS) to be sacrificed, expressing worry if he could fulfill his duty at that spot. The term “Khayf” in Arabic refers to slightly elevated places above the waterbed of valleys, hence naming the mosque after this characteristic.
The area beneath the tent-shaped dome of Masjid al-Khayf was once the location of the tent of Prophet Muhammad (SAW). Seventy prophets, including Prophet Musa (AS), prayed at this sacred site. Prophet Muhammad (SAW) encouraged believers not to neglect praying at Masjid al-Khayf, emphasizing its sanctity. It is mentioned in accounts that 400 prophets are buried under this dome, earning it the name “Kubbetul Enbiya” (Dome of the Prophets).
According to historical sources like Mir’atu’l Haremeyn, Prophet Adam (AS) is believed to be buried under the minaret on the left side of the mosque’s entrance. After his passing, Prophet Adam’s son Sheeth (AS) led his funeral prayer, and he was initially buried by the Abu Qubays Mountain. After the flood, Prophet Noah (AS) carried the grave of Prophet Adam (AS) on his ark and reburied it under the minaret of Masjid al-Khayf.
Given the profound sanctity of Masjid al-Khayf, engaging in worship at this location is highly recommended. Muslims have esteemed Masjid al-Khayf from the early days of Islam, with historical figures expressing their devotion by praying and holding it in high regard.