Mosque of Bani Haram

Mosque of Bani Haram (مسجد بني حرام) is one of the historic mosques in Medina, Saudi Arabia. It stands in the area where the tribe of Bani Haram lived, and it was used as a base camp during the Battle of the Trench. It is also believed to be the place where the Islamic prophet Muhammad stopped by for prayer during digging of a trench before the battle. The house of Jabir ibn Abd Allah, one of Muhammad's companions, was located here, and several accounts of miracles are considered to be witnessed in his house. It is on the western side of Mount Sela.

Nearby is the Bani Haram Cave, where Muhammad prostrated, prayed, and stayed a few nights, according to the hadith Majma al-Zawa'id.