Abdullah bin Umar reported,

The Prophet ﷺ used to come to the Quba mosque both riding and walking. Ibn Numayr added, narrating from Ubaydullah from Nafi, that he would pray two units of prayer in it.

Bukhari 1194

Sahih

حدثنا مسدد حدثنا يحيى بن سعيد عن عبيد الله قال حدثني نافع

عن ابن عمر رضي الله عنهما قال

كان النبي ﷺ يأتي مسجد قباء راكبا وماشيا زاد ابن نمير حدثنا عبيد الله عن نافع فيصلي فيه ركعتين

البخاري 1194صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtue of prayer in the masjid of Makkah and Madinah
Chapter
Coming to the masjid of Quba walking and riding
Numbering
Darussalam 1194
Bukhari 1194