Sunan an-Nasa'i, Volume 1, Book 8, Hadith 699 (DarusSalam)

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.

أَخْبَرَنَا قُتَيْبَةُ، عَنْ مَالِكٍ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، عَنِ ابْنِ عُمَرَ، قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَأْتِي قُبَاءً رَاكِبًا وَمَاشِيًا ‏.‏

sunnah.com