Anas bin Malik reported,

I went out with the Messenger of Allah ﷺ to Khaybar to serve him. When the Prophet ﷺ was returning and Uhud came into view, he said, "This is a mountain that loves us and that we love."Then he pointed with his hand toward Madinah and said, "O Allah, I declare sacred what lies between its two lava fields, just as Ibrahim declared Makkah sacred. O Allah, bless us in our saa and our mudd."

Azami 10561

Sahih

عن أنس بن مالك قال

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

الأعظمي 10561صحيح
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 10561 (2nd edition)
Azami 10561