It was narrated that Ibn 'Umar said: The Messenger of Allah (ﷺ) used to come to Quba' riding and walking. [1] Quba' is about three miles to the south of the Prophet's Masjid. This area is named after in that district.
Abu Umamah bin Sahl bin Hunaif said: My father said: 'The Messenger of Allah (ﷺ) said: 'Whoever goes out to his Masjid - the Masjid of Quba' and prays therein, that will be equivalent to 'Umrah.'