Abu Qatada reported,

The Messenger of Allah ﷺ performed ablution, then prayed on Saad's land at the base of the Harrah near the houses of Suqya. Then he said, "O Allah, Ibrahim was Your intimate friend, Your servant, and Your prophet, and he supplicated to You for the people of Makkah. I am Muhammad, Your servant, Your prophet, and Your messenger, and I supplicate to You for the people of Madinah with the same supplication Ibrahim made to You for the people of Makkah. We ask You to bless them in their saa, their mudd, and their fruits. O Allah, make Madinah beloved to us as You made Makkah beloved to us, and transfer whatever disease is in it to Khumm. O Allah, I have declared sacred what lies between its two lava fields, just as You declared the Sacred Precinct sacred upon the tongue of Ibrahim."

Azami 10624

Sahih

عن أبي قتادة

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

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