Sahih Muslim Book 7, Hadith Number 3227.
Chapter : Eminence of the mosque of Quba; and excellence of prayer in it.
Abdullah b. Umar (Allah be pleased with them) reported that Allah’s Messenger (may peace be upon him) used to come to Quba’ riding and on foot.