Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:14:35

And ˹mention, O Muhammad˺, when Abraham said, "My Lord, make this city ˹Makkah˺ secure and keep me and my sons away from worshipping idols.  

And, mention, when Abraham said, ‘My Lord, make this land, Mecca, secure — God granted him this petition and thus made it ˹Mecca˺ a sanctuary in which no human blood is shed, no person is wronged, prey is not hunted and one which is never deserted in any of its parts — and turn me and my sons away from serving idols.
القرآن:١٤:٣٥

وَإِذْ قَالَ إِبْرَاهِيمُ رَبِّ اجْعَلْ هَٰذَا الْبَلَدَ آمِنًا وَاجْنُبْنِي وَبَنِيَّ أَنْ نَعْبُدَ الْأَصْنَامَ  

{و} اذكر {إذ قال إبراهيم رب اجعل هذا البلد} مكة {آمنا} ذا أمن وقد أجاب الله دعاءه فجعله حرما لا يسفك فيه دم إنسان ولا يظلم فيه أحد ولا يُصاد صيده ولا يتخلى خلاه {واجنبني} بعدني {وبنيَّ} عن {أن نعبد الأصنام}.