The Quran narrates the virgin birth of Jesus numerous times. The Quran states that, Mary, while traveling in the desert of Bayt Lahm (Bethlehem) was overcome by the pains of childbirth. During her agony and helplessness, under her feet God provided a stream of water from which she could drink.
Furthermore, near a palm tree, Mary was told to shake the trunk of the palm tree, so that ripe dates would fall down and she could eat and be nourished. Mary cried in pain and held onto the palm tree, at which point a voice came from “beneath her”, understood by some to refer to Jesus, who was yet in her womb, which said, “Grieve not!
Your Lord has provided a water stream under you; And shake the trunk of the palm tree, it will let fall fresh ripe dates upon you. And eat and drink and calm thy mind.” That day, Mary gave birth to her son Jesus in the middle of the desert.
Forty days later she carried baby Jesus back to her people. The Quran goes on to describe that Mary vowed not to speak to anyone that day, as God was to make Jesus, who Muslims believe spoke in the cradle, perform his first miracle. The Quran goes on to narrate that Mary then brought Jesus to the temple, where she was immediately ridiculed by all the temple elders. But Zachariah believed in the virgin birth and supported her. The elders accused Mary of being a loose woman and having touched another man while unmarried. In response, Mary pointed to her son, telling them to talk to him.
They were angered at this and thought she was mocking them, by asking them to speak with an infant. It was then that God made the infant Jesus speak from the cradle and he spoke of his prophecy for the first time. He said, which are verses 19:30-33 in the chapter of Mary in the Quran:
He said: “I am indeed a servant of Allah: He hath given me revelation and made me a prophet;
And He hath made me blessed wheresoever I be, and hath enjoined on me Prayer and Charity as long as I live;
(He) hath made me kind to my mother, and not overbearing or miserable;
So peace is on me the day I was born, the day that I die, and the day that I shall be raised up to life (again)!”
—Quran, sura 19 Maryam, ayat 30-33