The virtue of the Masjid of Quba', and the virtue of praying therein and visiting it Sahih Muslim 1399 e
Arabic hadith text
وَحَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، عَنْ عَبْدِ، اللَّهِ بْنِ عُمَرَ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَيَأْتِي قُبَاءً رَاكِبًا وَمَاشِيًا .
Translation
Abdullah b. Umar (Allah be pleased with them) reported that Allah's Messenger (ﷺ) used to come to Quba' riding and on foot