The Qur'an claims "To thee we sent a scripture in truth, confirming the scripture which came before it and guarding it in safety: so judge between them by what Allah has revealed..." (Sura 5:51) However it may come as a surprise to discover that many stories in the Qur'an which appear to be historical facts do not come from any scriptures held as divine by the Jews and Christians but from legends and myths circulating in Arabia before the time of Muhammad.
The Jewish Legend in the Qur'an
In Jewish religious literature, called the Midrash, there are stories made up by the Rabbis to illustrate the dangers of polytheism and other evils of pagan belief. One such theme is illustrated by the story of Abraham breaking the idols of his father and then being saved from the fire into which he would have been thrown for having committed this act.
A former Chief Rabbi has written:
It will no doubt come as a shock for some to discover that the Qur'an which claims to be "divine revelation" contains one such Jewish legend and presents it as being an historical fact concerning the life of Abraham. However this story is a well known illustration invented by Rabbi Hiyya in the 2nd century CE; it is recorded in the Midrash Rabbah Genesis and all authorities agree that it was never mean't to be considered historical.
The story in the Qur'an
A comparison of the stories reveals unique similarities in the Qur'an and the Midrash which appear nowhere else in Biblical or other ancient literature.
The Qur'anic account of Abraham and the idols commences in Sura 6:74 where Abraham is quoted as saying "Takest thou idols for gods?" and this theme is then expanded in Sura 21:51-71. It is exactly the same theme of the Midrashic legend where Abraham takes issue over the idols of his father.
The shared themes in the Midrashic account
The Midrashic account is given here and the Qur'anic equivalent can be found in the ayats in the brackets.
All the above points are unique both to the Qur'anic and mythical midrashic accounts. They do not appear in the Scriptures of the Jews and Christians.
Conclusion
From Rabbinical accounts we know that these legends and myths were used widely to teach people the dangers of idolatry.
There is no doubt that Muhammad heard of these stories from the many discussions he had with Jews and, having mistaken them as stories from the Scriptures of the Jews, he retold them claiming that they were historical fact given to him by divine revelation.
Evidence, from Qur'anic sources, of Muhammad having heard these stories from the Jews and then retelling them as being divinely revealed can be seen on the internet at: http://answering-islam.org/Responses/Saifullah/borrow.htm and other articles in the section Sources of the Qur'an.
The facts speak for themselves. This story which appears in the Qur'an bears testimony that the Qur'an is not "divine revelation" but a collection of stories from many sources and put together by Muhammad and his companions.
The intelligent reader must ask the question: Did the Qur'an come from God? or was it compiled from many different sources including Jewish and Christian fiction and not only the Torah and Injeel?
Sources of the Qur'an
Answering Islam Home Page