Bulugh al-Maram, Book 6, Hadith 33 (In-Book)

'Abdullah bin Zaid bin ’Asim (RAA) narrated that the Messenger of Allah said, "Ibrahim declared Makkah as a Haram (Sanctuary) and made supplication for its people, and I declare Madinah to be a Haram just as Ibrahim declared Makkah as a Haram, and I made supplication for its Mudd and Sa’ (refer to hadith no. 650), just as Ibrahim made supplication for the people of Makkah." Agreed upon.

وَعَنْ عَبْدِ اَللَّهِ بْنِ زَيْدِ بْنِ عَاصِمٍ ‏- رضى الله عنه ‏- أَنَّ رَسُولَ اَللَّهِ ‏- صلى الله عليه وسلم ‏-قَالَ: { إِنَّ إِبْرَاهِيمَ حَرَّمَ مَكَّةَ وَدَعَا لِأَهْلِهَا, وَإِنِّي حَرَّمْتُ اَلْمَدِينَةَ كَمَا حَرَّمَ إِبْرَاهِيمُ مَكَّةَ، وَإِنِّي دَعَوْتُ فِي صَاعِهَا وَمُدِّهَا بِمِثْلَيْ 1‏ مَا دَعَا 2‏ إِبْرَاهِيمُ لِأَهْلِ مَكَّةَ } مُتَّفَقٌ عَلَيْهِ 3‏.‏ ‏1 ‏- هذه رواية مسلم، وفي رواية البخاري وأخرى لمسلم " مثل ".‏‏2 ‏- زاد مسلم: " به ".‏‏3 ‏- صحيح.‏ رواه البخاري ( 2129 )‏، ومسلم ( 1360 )‏ واللفظ لمسلم.‏

sunnah.com

also referenced under: Book 6, Hadith 759 (English)