Abdullah bin Dinar says: I heard Ibn Umar (may Allah be pleased with them both) say that the Messenger of Allah (peace and blessings be upon him) used to come to the Quba Mosque on foot and riding.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 10293