Much of Hajj is a living re-enactment of the trials of Ibrahim, his wife Hajar, and their son Ismail — a family the Quran repeatedly holds up as a model of submission to Allah. The Kaaba itself was raised by Ibrahim and Ismail together: "And [mention] when Abraham was raising the foundations of the House, and [with him] Ismail, [saying]: Our Lord, accept [this] from us" (2:127). Sa'i between Safa and Marwah retraces Hajar's frantic search for water after being left in the barren valley with her infant son, ending in the miraculous spring of Zamzam.
The stoning of the Jamarat is traditionally linked to the family's resistance of Shaytan's whispers during the trial in which Ibrahim was commanded, in a vision, to sacrifice his son — a test the Quran describes in detail, ending with Allah ransoming the boy "with a great sacrifice" (37:107). That ransom is the origin of the animal sacrifice offered at Eid al-Adha, echoed in Hajj through the Hady. Together, these rites turn Hajj into a physical remembrance of one family's total trust in Allah.