From Sahih Muslim (Hadith 3396):
Abdullah b. 'Umar reported that Allah's Messenger (ﷺ) used to come to Quba', i. e. (he came) on every Saturday, and he used to come riding or on foot. Ibn Dinar (another narrator) said that Ibn Umar used to do like this
Reference: Muslim 3396