Ibn Shihab reported,

Urwa bin Zubayr reported regarding the story of the Prophet's migration that the Messenger of Allah ﷺ stayed among the tribe of Amr bin Awf for over ten nights. He laid the foundation of the mosque that was founded upon piety, and the Messenger of Allah ﷺ prayed in it. Then he mounted his she-camel and set off, with the people walking alongside him, until she knelt down at the site of the Messenger of Allah's mosque in Medina.

Azami 3083

Sahih

عن ابن شهاب قال

أخبرني عروة بن الزبير في قصة هجرته… فلبث رسول الله ﷺ في بني عمرو بن عوف بضع عشرة ليلة. وأسس المسجد الذي أسس على التقوى، وصلى فيه الرسول الله ﷺ، ركب احلته، فسار يمشي معه الناس، حتى بركت عند مسجد رسول الله بالمدينة…

الأعظمي 3083صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Mosques
Section
Virtue of masjid Quba, coming to it riding and walking, performing two rakahs in it, and that prayer in it equals Amra
Numbering
Jami al-Kamil 3083 (2nd edition)
Azami 3083