It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) used to come to the Quba Mosque both on foot and riding.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 5199
Hadith Gradingحکم دارالسلام:إسناده صحيح ، خ : 1194 ، م : 1399 .