وَمَن دَخَلَهُ كَانَ آمِنًا
“Whoever enters it [i.e., the Haram] shall be safe.”
This ayah's declaration that "whoever enters it shall be safe" is part of the Qur'an's confirmation of the sanctuary status Ibrahim (AS) established for Makkah at this event.
On the safety and sanctity of the Haram.
The verse establishing the obligation of Hajj; scholars dispute whether it was revealed years earlier or immediately before this pilgrimage in 10 AH.