Ḥannah
Ḥannah bint Fāqūdh, wife of ʿImrān and mother of Maryam ﵍. She vowed to her Lord, consecrated to Him alone, the child she was carrying, counting on a son who would serve the Temple; she gave birth to a daughter, named her Maryam, and placed her and her offspring under Allāh's protection from the outcast devil. She died soon after, and the child fell to Zakariyyā ﵇.
Her vow and the answer she received are one of the passages where Allāh corrects an expectation without blaming it. She had vowed what she was carrying, counting on a son; she gave birth to a daughter and said so as an excuse — my Lord, I have borne a female, and the male is not like the female. Allāh answers that He knew better what she had borne.