(97) باب فَضْلِ مَسْجِدِ قُبَاءٍ وَفَضْلِ الصَّلاَةِ فِيهِ وَزِيَارَتِهِ
'Abdullah b. 'Umar reported that Allah's Messenger (ﷺ) used to come to Quba', i. e. (he came) on every Saturday, and he used to come riding or on foot. Ibn Dinar (another narrator) said that Ibn Umar used to do like this.
Reference: Sahih Muslim 1399 h
In-book reference: Book 15, Hadith 600
USC-MSA web (English) reference(deprecated numbering scheme): Book 7, Hadith 3230