“””And when they had both submitted and he put him down upon his forehead, 104. We called to him, "O Abraham. You have fulfilled* the vision." Indeed, We thus reward the doers of good. Indeed, this was the clear trial. And We ransomed him with a great sacrifice”””
https://en.wikipedia.org/wiki/Abraham_in_Islam#Sacrifice
*Ibn Arabi has this as “you have believed the dream”.
“”” Then when the boy reached the age to work with him, Abraham said, “O my dear son! I have seen in a dream that I ˹must˺ sacrifice you. So tell me what you think.” He replied, “O my dear father! Do as you are commanded. Allah willing, you will find me steadfast.” ”””
In Izutzu [1] we read how Ibn Arabi, a very influential Muslim mystic-saint, had read the narrative as Abraham being still in thrall of the illusion of materiality (“the world”) and reading the signs of God literally. This vision then, a great trial, was entirely designed to knock sense into him, awakening him to a higher consciousness.
[1]: https://traditionalhikma.com/wp-content/uploads/2015/07/Sufi...