In Islamic tradition, prophet Ibrahim (AS) left his wife, Bibi Hajera and their son, Ishmael (AS), in the valley of Makkah, when Ishmael (AS) was an infant. Upon one of his visits to his family in Makkah, he was ordered by Allah in a dream to sacrifice his son in the Mina valley. While carrying out his son's sacrifice, he was interrupted by the shaitan (Devil), and commanded by Allah to stone the Devil. The ritual of Jamarat is a commemoration of this belief by the Hajji's. Mina is also believed to be the location of the pledges in Al-Aqabah of the Ansar to our prophet Hazrat Muhammad (SA).
Muzdalifah is preceded by a day at Mount Arafat, consisting of glorifying Allah repeating the dua's, repentance to Allah, and asking him for forgiveness. At Arafat, Zuge and Asr prayers are performed in a combined and abbreviated form during the time of Zuhr. After sunset on the ninth day of the Islamic month of ZilHajj, Muslim pilgrims travel to Muzdalifah. After arriving at Muzdalifah, pilgrims pray the Maghrib and Isha prayers jointly, whereas the Isha prayer is shortened to 2 rakats. At Muzdalifah, pilgrims collect pebbles for the Stoning of the Devil at Al-Jqmarat.