Later,Ibrahim (a.s) came back to see his son by the hajar already passed away In a dream, the Prophet Ibrahim was instructed to sacrifice his son Ismail to Allah. Ibrahim told Ismail about the dream, and both agreed to submit to the will of God. Ismail lay prostrate with his forehead touching the ground, while his father laid a sharp knife upon his neck.
At this moment, Allah called down: “O Ibrahim! You have done my bidding and now you will be rewarded!” A large ram appeared as an alternative sacrifice, and instead of killing his son, Ibrahim slaughtered the sheep to the glory of God.