Urwa bin Zubayr reported,

Concerning the story of his migration ﷺ, the Messenger of Allah ﷺ stayed among the tribe of Amr bin Awf for over ten nights, during which he laid the foundation of the mosque that was founded on piety, and he prayed in it. Then he mounted his riding camel, and the people walked alongside him until it knelt down at the site of the Messenger's mosque ﷺ in Medina. The hadith continues.

Azami 12514

Sahih

عن عروة بن الزبير قال

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

الأعظمي 12514صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And those who took a masjid for causing harm and disbelief and division among the believers and as a station for whoever had warred against Allah and His Messenger before. And they will surely swear, we intended only the best. And Allah testifies that they are liars. Do not stand in it ever. A masjid founded on righteousness from the first day is more worthy for you to stand in. Within it are men who love to purify themselves, and Allah loves those who purify themselves"
Numbering
Jami al-Kamil 12514 (2nd edition)
Azami 12514