The accomplished scholar, Sayyid Naim al-Din Muradabadi writes:
When the Prophet made hijrah to Madinah, he took up stay at Quba after sunrise on Monday 12 Rabi‘ al-Awwal (622). It is here he resided until the upcoming Thursday, also laying foundations for a masjid in this time.
When Jumu‘ah arrived, he proceeded towards Madinah. As he passed through the valley of the Bani Salim b. ‘Awf, time began for Jumu‘ah salah, and people built a masjid for this. The Prophet offered the first Jumu‘ah salah hereupon and also delivered a sermon.” Masjid al-Jumu‘ah remains there until this day. Visitors come from far and wide to gaze lovingly upon it and offer salah inside.