In the Qu'ran, Shaitan (or Satan) tempts Ibrahim (Abraham) not to carry out God's command. Ibrahim then drives the demon away by throwing pebbles at him, which is commemorated during the Hajj as the "Stoning of the Devil."
The Hajj pilgrimage occurs when pilgrims voyage to the Holy City of Mecca as part of the Five Pillars of Islam, central to every Muslim's religious obligations. Pilgrims walk seven times in a counter clockwise direction around the Ka'bah, a shrine revered as a holy place for prayer and said to be originally constructed by Adam and later rebuilt by the prophet Ibrahim (Abraham) and his son.
Muslims believe that the Prophet Muhammad was a man born in Mecca. God sent Muhammad as man's final prophet according to the holiest book in Islam, the Qu'ran.