Genesis 22:10-13 New International Version (NIV)

10. Then he reached out his hand and took the knife to slay his son.

11. But the angel of the Lord called out to him from heaven, “Abraham! Abraham!” “Here I am,” he replied.

12. “Do not lay a hand on the boy,” he said. “Do not do anything to him. Now I know that you fear God, because you have not withheld from me your son, your only son.”

13. Abraham looked up and there in a thicket he saw a ram caught by its horns. He went over and took the ram and sacrificed it as a burnt offering instead of his son.

Genesis 22