Genesis 16:2-4

16:2 So Sarai said to Abram, “Since the Lord has prevented me from having children, have sexual relations with my servant. Perhaps I can have a family by her.” Abram did what Sarai told him.

16:3 So after Abram had lived in Canaan for ten years, Sarai, Abram’s wife, gave Hagar, her Egyptian servant, to her husband to be his wife. 16:4 He had sexual relations with Hagar, and she became pregnant. Once Hagar realized she was pregnant, she despised Sarai.

Genesis 16:15

16:15 So Hagar gave birth to Abram’s son, whom Abram named Ishmael.