The mosque was built by Prophet Muhammad in 622, after his arrival in the city of Medina.
Masjid dibangun oleh Nabi Muhammad pada 622 setelah kedatangannya di kota Madinah.