All perfect praise be to Allaah, The Lord of the worlds. I testify that there is none worthy of worship except Allaah and that Muhammad, sallallaahu ʻalayhi wa sallam, is His slave and Messenger.
This verse refers to the divine command to Muslims to perform Hajj. It has been reported that Prophet Ibraaheem (Abraham) said, “O people, your Lord has taken this as His house (the Kaʻbah), so make Hajj to it.”
The verse does not intend merely visiting Ibraaheem as a person, nor is visiting him considered part of the rituals of Hajj. Al-Jassaas said, “This verse proves that Hajj was made obligatory at that time because Allaah commanded Ibraaheem to call people to Hajj...”
Shaykhul-Islam Ibn Taymiyyah said, “Performing Hajj to the Kaʻbah, which Ibraaheem built and called people to perform pilgrimage to it. The Prophets performed Hajj; Moosa (Moses) and Yoonus (Jonah) and other prophets performed Hajj to it...”
Ibn Katheer wrote:
“The verse means 'Announce (O Ibraaheem) the pilgrimage to mankind and call them to perform pilgrimage to this House which We have commanded you to build.' It was said that Ibraaheem said, 'O Lord, how can I convey this to people when my voice will not reach them?' It was said, 'Call them, and We will convey it.' So he, stood on his station (Ibraaheem’s Maqaam [place of standing]), on the Hijr (the area adjacent to the Ka’bah enclosed by a low semi-circular wall), on the Safa Mountain, or on the Abu Qubays Mountain, and said, 'O mankind! Your Lord has taken a House, so make Hajj to it.' It is said that the mountains lowered themselves so that his voice would reach all the regions of the earth and that those who were still in their mothers' wombs and their fathers' loins heard his call. The response came from everyone in the cities, deserts and countryside, and those whom Allaah has decreed it for will make the pilgrimage until the Day of Resurrection, 'At Your service, O Allaah, at Your service.' This is a summary of the narrations from Ibn ʻAbbaas, Mujaahid, ʻIkrimah, Saʻeed ibn Jubayr, and others among the righteous predecessors. And Allaah knows best...” [Tafseer Ibn Katheer, 3:221]
Allaah knows best.