Abdullah bin Zayd reported,

The Prophet ﷺ said, "Ibrahim declared Mecca a sanctuary and supplicated for it, and I have declared Medina a sanctuary just as Ibrahim declared Mecca a sanctuary, and I have supplicated for blessings in its mudd and its saa just as Ibrahim عليه السلام supplicated for Mecca."

Azami 10563

Sahih

عن عبد الله بن زيد

عن النبي ﷺ: إن إبراهيم حرم مكة ودعا لها، وحرمت المدينة كما حرم إبراهيم مكة ودعوت لها في مدها وصاعها مثل ما دعا إبراهيم عليه السلام لمكة.

الأعظمي 10563صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the lands
Chapter
Virtues of Makkah and Madinah together
Section
Prohibition of Makkah and Madinah
Numbering
Jami al-Kamil 10563 (2nd edition)
Azami 10563