The New Testament changed Jesus into a sacrifice for sins following the cult of Osiris shedding his blood for humanity causing mankind to eat the flesh and drink the blood of this new Saviour. This became the Orthodox view with the early "gnostics" whom rejected the crucifixion and sacrifice being heavily persecuted with their books blotted out from history.
The Holy Quran and The Gospel of Barnabas are the two books that attest to an early gnostic history of the church of God.
The Gospel of Barnabas writes:
"Jesus confessed, and said the truth: "I am not the Messiah." They said: "Are you Elijah or Jeremiah, or any of the ancient prophets?" Jesus answered: "No." Then said they: "Who are you? Say, in order that we may give testimony to those who sent us." Then Jesus said: "I am a voice that cries through all Judea, and cries: "Prepare you the way for the messenger of the Lord," even as it is written in Esaias;."
They said: "If you be not the Messiah nor Elijah, or any prophet, wherefore do you preach new doctrine, and make yourself of more account than the Messiah?" Jesus answered: "The miracles which God works by my hands show that I speak that which God wills; nor indeed do I make myself to be accounted as him of whom you speak. For I am not worthy to unloose the ties of the hosen or the ratchets of the shoes of the Messenger of God whom you call "Messiah," who was made before me, and shall come after me, and shall bring the words of truth, so that his faith shall have no end."
Truly I say to you, that every prophet when he is come has borne to one nation only the mark of the mercy of God. And so their words were not extended save to that people to which they were sent. But the Messenger of God, when he shall come, God shall give to him as it were the seal of his hand, insomuch that he shall carry salvation and mercy to all the nations of the world that shall receive his doctrine. He shall come with power upon the ungodly, and shall destroy idolatry, insomuch that he shall make Satan confounded; for so promised God to Abraham, saying: "Behold, in your seed I will bless all the tribes of the earth; and as you have broken in pieces the idols, O Abraham;, even so shall your seed do.""
James answered: "O master, tell us in whom this promise was made; for the Jews say "in Isaac," and the Ishmaelites say "in Ishmael;." Jesus answered: David, whose son was he, and of what lineage?" James answered: "Of Isaac; for Isaac was father of Jacob, and Jacob was father of Judah, of whose lineage is David." Then Jesus said: "And the Messenger of God when he shall come, of what lineage will he be?" The disciples answered: "Of David." Whereupon Jesus said: "You deceive yourselves; for David in spirit calls him lord, saying thus: God said to my lord, sit you on my right hand until I make your enemies your footstool. God shall send forth your rod which shall have lordship in the midst of your enemies. If the Messenger of God whom you call Messiah were son of David, how should David call him lord? Believe me, for truly I say to you, that the promise was made in Ishmael, not in Isaac."
The disciples said: "O master, it is written in the Book of Moses, that the promise was made in Isaac." Jesus answered with a groan: "It is so written, but Moses did not write it, nor Joshua, but rather our rabbins, who do not fear God! Truly I say to you, that if you consider the words of the angel Gabriel, you shall discover the malice of our scribes and doctors. For the angel said: "Abraham, all the world shall know how God loves you; but how shall the world know the love that you bear to God? Assuredly it is necessary that you do something for love of God." Abraham answered: 'Behold the servant of God, ready to do all that which God shall will.'
Then spoke God, saying to Abraham: "Take your son, your firstborn Ishmael;, and come up the mountain to sacrifice him." How is Isaac firstborn, if when Isaac was born Ishmael was seven years old? Then said the disciples: "Clear is the deception of our doctors: therefore tell us you the truth, because we know that you are sent from God." Then answered Jesus: "Truly I say to you, that Satan ever seeks to annul the laws of God; and therefore he with his followers, hypocrites and evil-doers, the former with false doctrine, the latter with lewd living, to day have contaminated almost all things, so that scarcely is the truth found. Woe to the hypocrites! for the praises of this world shall turn for them into insults and torments in hell.
"I therefore say to you that the Messenger of God is a splendour that shall give gladness to nearly all that God has made, for he is adorned with the spirit of understanding and of counsel, the spirit of wisdom and might, the spirit of fear and love, the spirit of prudence and temperance, he is adorned with the spirit of charity and mercy, the spirit of justice and Piety, the spirit of gentleness and patience, which he has received from God three times more than he has given to all his creatures. O blessed time, when he shall come to the world! Believe me that I have seen him and have done. him reverence, even as every prophet has seen him: seeing that of his spirit God gives to them prophecy. And when I saw him my soul was filled with consolation, saying: "O Muhammad;, God be with you, and may he make me worthy to untie, your shoe latchet;, for obtaining this I shall be a great prophet and holy one of God." And having said this, Jesus rendered his thanks to God.
Ishmael or Isaac--Who was the Sacrifice?
The argument is made in the Gospel of Barnabas that Muhammed is Israel's true Messiah and Jesus, being a prophet came to prepare the way for the Messenger. The doctors of the law changed the line of the Messiah away from Ishmael, the firstborn, to Isaac. A Jew whom converted to Islam relates that he knew that it was Ishmael whom was suppose to be the sacrificial offering not Isaac.
In ENCYCLOPAEDIA JUDAICA, Second Edition, Volume 10, from page 82:
Ismāʿīl was a prophet (Sura 19:55; 21:85; 38:48), but it was only in *Medina that it became known to *Muhammad that he was the son of Abraham, one of the founders of the cult at the Kaaba in Mecca, one of the forefathers of the Arabs, and, like Abraham, Isaac, and Jacob, one of the worshipers of Allah, even though he was neither Jew nor Christian (Sura 2:119,127, 130; 3:78; 14:44; 19:55). In the tale of the binding (Sura 37:99–110) Muhammad identified the son who was to be sacrificed as Ishmael and, indeed, the opinions of the traditionalists were also divided on this subject (cf. *Isaac). It is related that a renowned traditionalist of Jewish origin, from the *Qurayẓa tribe, and another Jewish scholar, who converted to Islam, told the caliph Omar ibn Abd al-Azīz (717–20) that the Jews were well informed that Ismāʿil was the one who was bound, but that they concealed this out of jealousy (Tabarī, Taʾrīkh, 1:189; idem, Tafsīr, 23:54; Thaʿlabī, Qiṣaṣ, 77). Muslim legend also adds details on Hājar (Hagar), the mother of Ismāʿīl. After Abraham drove her and her son out, she wandered between the hills of al-Ṣafā and al-Marwa (in the vicinity of Mecca) in her search for water. At that time the waters of the spring Zemzem began to flow. Her acts became the basis for the hallowed customs of Muslims during the Ḥajj. According to Arab genealogists, Ismāʿīl was the progenitor of the northern Arabs, the *Mustaʿriba, i.e., Aramite tribes which were assimilated among the Arabs. [Haïm Z’ew Hirschberg]
But by no means is there a general consensus as to who was suppose to be sacrificed. Was it Isaac or Ishmael? Even the Islamic companions in the day of the Prophet Muhammed couldn't make up their mind.
From the article, Was Abraham commanded to sacrifice Isaac or Ishmael?:
Today most Muslims believe that Allah (SWT) commanded Abraham (AS) to sacrifice Ishmael (AS), yet the Torah names the boy as Isaac (AS). Incredibly 38 of the companions of Muhammad (SAW) confirm the Jewish narrative and are recorded saying it was Isaac and not Ishmael.
Since its beginnings Islam’s finest scholars have debated which son Abraham was commanded to sacrifice, yet both Judaism and Christianity host no such discussion. The reason for this is simple, the Torah names Isaac multiple times, while Quran keeps the boy’s identity secret. In the absence of a name Muslim scholars sought answers from those who walked with Muhammad and it is their opinions that we wish to explore.
There are also 131 opinions attributed to Muhammad’s companions name the boy Isaac whilst 133 opinions attributed to Muhammad’s companions name the boy Ishmael.
In Surah 37:99-109, which describes the sacrificial event of Abraham, the boy is not mentioned. Islam often suggests it is Ishmael which supports the Gospel of Barnabas.
Jesus is a Messiah in Quran
Jesus is also referred to as a Messiah in the Quran only to complicate the Gospel of Barnabas. Though Islam has several meanings for the term Messiah.
Surah 5:75, "The Messiah (Jesus), son of Mary, was no more than a Messenger; many were the Messengers that passed away before him..."
Surah 4:156-157, “And (We cursed them) for their disbelief… and their boastful claim: Indeed, we have killed the Messiah, Jesus, the son of Mary, the messenger of God. And they did not kill him, nor did they crucify him.”
The Quran appears to support the idea that Jesus is the Messiah of Israel. Except the following Surah which appears to contradict this belief:
Surah 5:72, "Surely, they have disbelieved who say: "God is the Messiah Jesus, son of Mary." But the Messiah Jesus said: "O Children of Israel! Worship God, my Lord and your Lord".
The Quran refers to Jesus as the Messiah (al-Maseeh) at least nine times. To attribute Jesus as a God or part of the Trinity is blasphemy (Surah 5:72-73) and it is this that is being addressed.
Jesus is a Messiah to the people of Israel even though he claimed he wasn't the awaited Messiah in the Gospel of Barnabas. Jesus knew a further Messenger would emerge whom would be Muhammed.
Muhammed was the last Messenger of God except for the ministry of the two witnesses and return of Jesus. The Prophet Muhammed was born into a Jewish Arab tribe, and is believed to be Jewish according to our research. This only complicates the situation. We cannot know for certain if the Messianic line came through the firstborn, Ishmael or later through Isaac. Muhammed came through both lines since he was a Jewish Arab. Jesus is a prophet and Messiah to Israel.