The ritual is a recreation of Prophet Abraham's stoning of the devil at the three places where the latter is said to have tried to dissuade Abraham from obeying God's order to sacrifice his son, Ismael, according to Islamic traditions.
After the stoning ritual, pilgrims will sacrifice animals to mark the beginning of the four-day Eid al-Adha holiday on Saturday.
The Hajj pilgrimage is the "fifth pillar" of the Islamic faith, a ritual that must be performed by all Muslims if financially viable, at least once in their lives.