Quran 66:12 — Prohibition (Al-Tahreem)
وَمَريَمَ ابنَتَ عِمرٰنَ الَّتى أَحصَنَت فَرجَها فَنَفَخنا فيهِ مِن روحِنا وَصَدَّقَت بِكَلِمٰتِ رَبِّها وَكُتُبِهِ وَكانَت مِنَ القٰنِتينَ
Also Mary, the Amramite. She maintained her chastity, then we blew into her from our spirit. She believed in the words of her Lord and His scriptures; she was obedient.
[66:11] And GOD cites as an example of those who believed the wife of Pharaoh. She said, "My Lord, build a home for me at You in Paradise, and save me from Pharaoh and his works; save me from the transgressing people."