Setting the Texts Side by Side
The claim that the Qur'an borrowed from the Protoevangelium of James rests on a surface similarity: both texts describe Mary's mother dedicating her unborn child to God's service. The Protoevangelium, an apocryphal gospel written in the second century CE, narrates that Hannah (Mary's mother) vowed, If the Lord God shall give me a male offspring, I will dedicate it to the Lord, and it will serve Him all the days of its life (Protoevangelium 3. 1). The Qur'an, revealed in the seventh century CE, similarly quotes the wife of Imran saying, My Lord, indeed I have vowed to You what is in my womb, dedicated [for Your service], so accept from me (Qur'an 3. 35). At first glance, the parallel seems compelling.
However, similarity alone does not establish dependence. As the investigation framework reminds us, similarity alone is not evidence of borrowing, causal attribution, or common origin. To determine whether the Qur'anic account is genuinely borrowed, we must examine the texts in their full context, both their immediate narrative setting and the broader theological frameworks. The Protoevangelium is a legendary expansion of the Gospel of Luke, while the Qur'an presents its own self-contained narrative with distinct emphases.
When we place the two texts side by side, significant differences emerge. In the Protoevangelium, Hannah names her child Mary, and the narrative includes details like the angel's annunciation to Joachim and the purification of the temple. The Qur'an, by contrast, does not name the wife of Imran; she remains anonymous. The focus is not on the mother but on the child Mary and her subsequent care under Zechariah. The Qur'an also integrates this story into a larger argument about God's sovereignty and the continuity of prophetic guidance, not on legendary embellishment.
Also, the initial similarity of a dedication vow must be weighed against the distinct narrative frameworks. The Qur'an's version is concise, free of apocryphal details, and seamlessly fits its own theological message. This alone raises the question: is borrowing the most plausible explanation, or is there a more coherent alternative?

Contrasting Narratives: What Each Text Adds and Omits
A closer examination of the full accounts reveals stark contrasts that undermine the borrowing hypothesis. The Protoevangelium of James provides a lengthy backstory: Joachim, Mary's father, is a wealthy man who is childless and shamed, so he retreats to the wilderness to fast. Meanwhile, his wife Hannah mourns and prays. An angel appears to both, announcing that Hannah will conceive. After Mary's birth, Hannah nurses her and later brings her to the temple at age three, where she is miraculously fed by an angel. These dramatic, supernatural details are characteristic of apocryphal literature.
The Qur'an, however, contains none of this. Surah 3: 35-37 simply states. And [mention] when the wife of Imran said, 'My Lord, indeed I have vowed to You what is in my womb, dedicated [for Your service], so accept from me. Indeed, You are the Hearing, the Knowing.' When she delivered her, she said, 'My Lord, I have delivered a female', and Allah knew best what she delivered, 'and the male is not like the female. I have named her Mary, and I seek refuge for her and her offspring from the accursed Satan.' So her Lord accepted her with a good acceptance and caused her to grow in a good manner and placed her under the care of Zechariah. No angels, no childless shame, no miraculous feeding in the temple.
These differences are not trivial, they reflect fundamentally different narrative purposes. The Protoevangelium aims to glorify Mary by attributing miraculous events to her infancy, elevating her as a sinless vessel. The Qur'an focuses on God's response to sincere devotion and the providential care of Mary, preparing her for the miraculous birth of Jesus. The Qur'an omits legendary accretions that would detract from its central theme: that God's power is sufficient without human embellishment.
Also, the Qur'an's account is embedded within a series of stories about prophetic families, the family of Imran, the family of Abraham, emphasizing God's grace in choosing righteous lineages. This thematic coherence is absent from the Protoevangelium, which is solely concerned with Mary's interesting holiness. Also, the parallels are superficial when viewed against the divergent narrative goals.

Linguistic and Theological Differences
The linguistic evidence further weakens the borrowing claim. In the Protoevangelium, Hannah's vow includes the phrase I will dedicate it to the Lord using Greek terms typical of Jewish and Christian temple dedication. In the Qur'an, the Arabic word muḥarraran (from the root ḥ-r-r, meaning freed or dedicated) appears in the wife of Imran's statement. This term has a specific connotation in Islamic law: dedicating a child to the service of God, akin to a slave being freed for sacred service. There is no direct linguistic parallel between the Greek and Arabic; they emerge from distinct cultural and religious vocabularies.
Also, the theology surrounding the child differs. In the Protoevangelium, Mary is presented as perpetually sinless and holy, a prelude to the doctrine of the Immaculate Conception. In the Qur'an, Mary is pure and chosen, but her honor derives from God's grace, not from inherent sinlessness. When the wife of Imran expresses dismay at having a female child, Allah responds, And the male is not like the female (Qur'an 3:36), indicating that God's plan transcends human expectations. The Qur'an does not elevate Mary to a divine or semi-divine status; she remains a human being, albeit a highly favored one.
Also, the Qur'an introduces Zechariah as Mary's guardian, a figure who is both a prophet and a caretaker. The Protoevangelium does not feature Zechariah in this role; instead, Mary is placed with the virgins of the temple and fed by angels. This substitution of a mundane, human caregiver for a miraculous sustenance reflects the Qur'an's emphasis on normal, providential care rather than supernatural intervention.
These linguistic and theological divergences suggest that the Qur'an is not borrowing from the Protoevangelium but rather presenting its own independent narrative. The similarities are limited to the fact that both describe a vow of dedication, but such a vow is a natural expression of piety in many religious traditions, from Hannah in the Hebrew Bible (1 Samuel 1:11) to Christian monastic vows. The burden of proof lies on those who claim dependence.

Alternative Explanations and the Weight of Evidence
If borrowing is not the best explanation, what are the alternatives? The investigation framework encourages us to consider multiple hypotheses. One possibility is that the Qur'an is drawing on a common oral tradition shared among Jewish and Christian communities in Arabia, but without direct literary dependence. The story of a child dedicated to temple service is a motif that appears in multiple independent traditions (e.g., Samuel in the Hebrew Bible). The Qur'an could be presenting a simpler, more ancient version of that motif, stripped of later legendary accretions.
Another possibility is that the Qur'an's account is a divine revelation that corrects and clarifies prior narratives. From this perspective, the Qur'an is not borrowing but rather restoring the original, pure story of Mary's birth, a story that had been embellished in apocryphal texts. This aligns with the Qur'an's self-claim as a confirmation and guardian of previous scriptures (Qur'an 5:48), correcting distortions that had crept in over time.
A third possibility is that the similarities are coincidental, arising from a shared human recognition that dedicating a child to God is a powerful act of devotion. After all, the idea of dedicating children to religious service appears in many cultures independently (e.g., in Hinduism, Buddhism, and various pre-Christian traditions). Without stronger evidence, coincidence remains a viable explanation.
Given the significant differences in narrative detail, language, and theology, the borrowing hypothesis requires the most unsupported assumptions. It presumes that the Qur'an's author had access to a second-century text that was not widely circulated in Arabia, and that he deliberately chose to reproduce only the bare outline while completely altering the rest. This is less parsimonious than the alternative that the Qur'an presents an independent, thematically coherent account.
Also, according to the principle that the explanation requiring the fewest unsupported assumptions is preferred, the evidence leans against borrowing. The Qur'an's account of Mary's birth is unique in its concision, theological focus, and narrative structure, not a derivative of the Protoevangelium of James.
