Feehi ayatun bayyinatunmaqamu ibraheema waman dakhalahu kana aminanwalillahi AAala annasi hijjualbayti mani istataAAa ilayhi sabeelan waman kafarafa-inna Allaha ghaniyyun AAani alAAalameen
In it are clear signs [such as] the standing place of Abraham. And whoever enters it [i.e., the Ḥaram] shall be safe. And [due] to Allāh from the people is a pilgrimage to the House - for whoever is able to find thereto a way. But whoever disbelieves [i.e., refuses] - then indeed, Allāh is free from need of the worlds.
Pilgrimage to the House is a duty owed to Allah by those who can make their way.