Masjid Bay’ah is in ‘Aqaba, the nearest part of Mina to Makkah. It marks the place where the early Madinan Muslims came to give Bay’ah (Allegiance) to the Prophet (Peace be upon him) which led to the eventual Hijrah of the Muslims from Makkah to Madinah.
The first Bay’ah was given two years before the Hijrah with 12 people of Madina giving Bay’ah. The second Bay’ah took place one year before the Hijrah and was attended by 75 people from Madina who gave their Allegiance to the Messenger of Allah (peace be upon him) and pomised to protect him should he migrate to Madinah.
This was the catalyst for the momentous Hijrah which became the start of a new Dawn for the Muslims.
A Masjid was built here to commemorate the location and Alhamdu Lillah it’s one of the few structures that still remain today.
More details can be found in the link below: