Ibn 'Umar reported that Allah's Messenger (ﷺ) came to Quba' riding as well as on foot.

Sahih Muslim Book 15 Hadith 595

Sahih Muslim #1399 c

The Book of Pilgrimage 15:595

Ibn 'Umar reported that Allah's Messenger (ﷺ) came to Quba' riding as well as on foot.

Chapter: The virtue of the Masjid of Quba', and the virtue of praying therein and visiting it

Grade: Sahih