When she had delivered, she said:
“O my Lord! Behold! I am delivered of a female child!”
—and God knew best what she delivered—
“And no wise is the male
like the female.
I have named her Maryam (Mary),
and I commend her
and her offspring
to Thy protection from the Evil One, the Rejected.” (Qur’an 3:36)
A Prophet is someone who can communicate / has communicated with the Divine. Prophets are examples for all believers.
A Messenger (also a Prophet) receives a scripture, such as Abraham who received the Scrolls, Moses who received the Torah, David who received the Psalms, Jesus who received the Gospel, and Muhammad who received the Qur’an. There are others, estimated in the thousands, among every civilization that ever existed. As the Qur’an states, “And messengers We have mentioned unto thee before and messengers We have not mentioned unto thee” (Qur’an 4:164). [Note the chapter]
Mary as far as we know was not given a scripture, but delivered a son who delivered a scripture to his people. Precisely on the mark, she was sent an angel, just as Prophets are, and communicated with the Divine. She is not the only woman who fits the definition of a Prophet yet remains unrecognized of her Prophethood by the Islamic community even though scholars of the past (Al-Qurtubi, Al-Razi, Al-Suyuti, Ibn Hazm) had considered her a Prophet. This is unfortunate, as the Qur’an most certainly recognizes her Prophethood, and includes her in a list of Prophets, in a chapter of the Qur’an titled Prophets.
And remember Dawud (David) and Suleiman (Solomon) when they gave judgment […]
And remember Ayyub (Job), when he cried to his Lord […]
And remember Isma’il (Ishmael), Idris (Enoch), and Zul-Kifl (Ezekiel), all of constancy and patience […]
And remember Yunus (Jonah), when he departed in wrath […]
And remember Zakariya (Zecharia), when he cried to his Lord […]
And remember her who guarded her chastity:
We breathed into her of Our Spirit,
and We made her and her son
a Sign for all peoples. (Qur’an 21:78—91)
I’m guessing Eve was one too.
But it seems men know better than God, and recognize the Prophethood of only other men, overturning what God has proclaimed in the Qur’an. When they cannot be Prophets themselves, they appoint themselves intermediaries between believers and God, which enables them to make up whatever they want and pass it for Islam.