(97) باب فَضْلِ مَسْجِدِ قُبَاءٍ وَفَضْلِ الصَّلاَةِ فِيهِ وَزِيَارَتِهِ
Ibn 'Umar reported that Allah's Messenger (ﷺ) came to Quba' riding as well as on foot.
Reference: Sahih Muslim 1399 c
In-book reference: Book 15, Hadith 595
USC-MSA web (English) reference(deprecated numbering scheme): Book 7, Hadith 3225