It's amazing how people look at Muhammad as a prophet, But Muhammad can not even keep the stories straight as for the one Muhammad speaks about in the Qu'ran (Maryam: 22-27) is about Ha-gar the Egyptian that was Abraham's wife Sarah handmaiden.
All I had to do is read the first sentence of what you posted, and right off knew what Muhammad written about in the Qu'ran
( Maryam: 22-27) was not about Mary the mother of Jesus, But about Har-gar the Egyptian woman that was Abraham's wife Sarah's handmaiden. This is what happens when you have people like Muhammad that can not read or write.They tell what the heard from others but gets the stories all mix up.
See the book of Genesis 21:9-17
But then Muhammad does this throughout the Qu'ran.
Seeing people haven't a clue or idea about the bible or the Qu'ran, people are easy to be deceived by Muhammad the false prophet
Just another failed attempt by the false prophet Muhammad.
I see little resemblance to the two stories other than Hagar and Mary were women who are cared for by God in the desert. Hagar is certainly not a virgin.
There are other aspects to the story if you read on ...
O sister of Aaron, your father was not a man of evil, nor was your mother unchaste."
So she pointed to him. They said, "How can we speak to one who is in the cradle a child?"
[Jesus] said, "Indeed, I am the servant of Allah . He has given me the Scripture and made me a prophet.
And He has made me blessed wherever I am and has enjoined upon me prayer and zakah as long as I remain alive
And [made me] dutiful to my mother, and He has not made me a wretched tyrant.
And peace is on me the day I was born and the day I will die and the day I am raised alive."
That is Jesus, the son of Mary - the word of truth about which they are in dispute.
It is not [befitting] for Allah to take a son; exalted is He! When He decrees an affair, He only says to it, "Be," and it is.
[Jesus said], "And indeed, Allah is my Lord and your Lord, so worship Him. That is a straight path."
(19:28-36)