وعن ابن عمر رضي الله عنهما
قال: كان النبي صلى الله عليه وسلم يزور قباء راكبًا وماشيًا، فيصلي فيه ركعتين وفي رواية: كان النبي صلى الله عليه وسلم يأتي مسجد قباء كل سبت راكبًا وماشيًا وكان ابن عمر يفعله
The Prophet (sallallahu alayhi wa sallam) used to visit Quba, either mounted or on foot and would offer two Rakah prayer in the mosque there. Another narration is: The Prophet (sallallahu alayhi wa sallam) used to visit the mosque at Quba every Saturday (i.e., every week) either mounted or on foot, and Ibn Umar (radiyallahu anhum) used to do the same thing.