Sufyan bin Abu Zuhayr reported,

I heard the Messenger of Allah ﷺ say, "Yemen will be conquered, and a people will come urging their families and followers to migrate there, taking them along, but Madinah would be better for them if only they knew. Then Sham will be conquered, and a people will come urging their families and followers to migrate there, taking them along, but Madinah would be better for them if only they knew. Then Iraq will be conquered, and a people will come urging their families and followers to migrate there, taking them along, but Madinah would be better for them if only they knew."

Azami 10630

Sahih

عن سفيان بن أبي زهير قال

سمعت رسول الله ﷺ يقول: يفتح اليمن فيأتي قوم يبسون، فيتحملون بأهليهم ومن أطاعهم، والمدينة خير لهم لو كانوا يعلمون، ثم يفتح الشام فيأتي قوم يبسون، فيتحملون بأهليهم ومن أطاعهم، والمدينة خير لهم لو كانوا يعلمون، ثم يفتح العراق فيأتي قوم يبسون، فيتحملون بأهليهم ومن أطاعهم، والمدينة خير لهم لو كانوا يعلمون.

الأعظمي 10630صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the lands
Chapter
Virtue of the Prophet's Madinah
Section
Encouragement to reside in Madinah
Numbering
Jami al-Kamil 10630 (2nd edition)
Azami 10630