Mary pbuh was chaste and very pious, and her mother the wife of Imran put her in the house of God to serve there and worship. One day she left the house for a need, and was surprised by the Angel, who gave her the glad tidings.
Almighty Allah sent her an angel to give her the news that she will bear a child who will be special and will be a messenger of Allah.
(And mention in the Book ˹O Prophet, the story of˺ Mary when she withdrew from her family to a place in the east, and screened herself off from them. Then We sent to her Our angel, ˹Gabriel,˺ appearing before her as a man, perfectly formed.
She appealed, “I truly seek refuge in the Most Compassionate from you! ˹So leave me alone˺ if you are God-fearing.”
He responded, “I am only a messenger from your Lord, ˹sent˺ to bless you with a pure son.”) Maryam 19: 16-19
كانت مريم عليها السلام تقية و عابدة لله تعالى. وضعتها أمها امرأة عمران لتخدم في بيت الله أي تتعبد فيه
و في يوم خرجت لحاجتها فجاءها الملك و هي خارج المسجد فأخبرها بالبشرى.
( وَاذْكُرْ فِي الْكِتَابِ مَرْيَمَ إِذِ انتَبَذَتْ مِنْ أَهْلِهَا مَكَانًا شَرْقِيًّا ﴿١٦﴾ فَاتَّخَذَتْ مِن دُونِهِمْ حِجَابًا فَأَرْسَلْنَا إِلَيْهَا رُوحَنَا فَتَمَثَّلَ لَهَا بَشَرًا سَوِيًّا ﴿١٧﴾ قَالَتْ إِنِّي أَعُوذُ بِالرَّحْمَـٰنِ مِنكَ إِن كُنتَ تَقِيًّا ﴿١٨﴾ قَالَ إِنَّمَا أَنَا رَسُولُ رَبِّكِ لِأَهَبَ لَكِ غُلَامًا زَكِيًّا ﴿١٩﴾ مريم 19: 16-