abdullah ibn jafar reported that he heard sayyiduna ali saying in kufa that allah's messenger (peace and blessings of allah be upon him) said, "the best of the women of her time was maryam, daughter of imran, and the best of women of her time was khadijah, daughter of khuwaylid." she was 40 years old when they got married.