Mary wonders at how she shall give birth to a child and the answer given is Kun Fayakun. Obviously, this is not referring to an instant process but rather a gradual process.
3:47. She said: "O my Lord! How shall I have a son when no man has touched me." He said: "So (it will be) for Allâh creates what He wills. When He has decreed something, He says to it only: "Be!" and it is.
Mary in Islam (مريم "Maryam" in Arabic), the mother of Jesus, is venerated as a righteous woman. She is mentioned more times in the Qur'an than in the entire New Testament. According to the Qur'an, Jesus (called 'Isa in Arabic) was born miraculously by the will of God without a father. His mother is regarded as a chaste and virtuous woman and is a highly respected figure in Islam. The Qur'an states that Jesus was the result of a virgin birth, but that neither Mary nor her son was divine.
In the Qur'an, no other woman is given more attention than Mary. The nineteenth sura of the Qur'an is named after her and is, to some extent, about her life. Of the Qur'an's 114 suras, she is among only eight people who have a sura named after them. In Islam, she is generally referred to as Maryam, Umm Isa (Mary, the mother of Jesus). For Muslims she is a symbol of submission to God and piety.
Mary is one of the most highly-regarded women in Islam; there are several verses in the Qur'an praising her and confirming that she was an extremely chaste and pious woman. I wish , I could be strong as her as I AM also a MARYAM :)