Genesis 21:9-12 And Sarah saw the son of Hagar the Egyptian, whom she had borne to Abraham, scoffing. Therefore she said to Abraham, “Cast out this bondwoman and her son; for the son of this bondwoman shall not be heir with my son, namely with Isaac.” And the matter was very displeasing in Abraham’s sight because of his son. But God said to Abraham, "Do not let it be displeasing in your sight because of the lad or because of your bondwoman. Whatever Sarah has said to you, listen to her voice; for in Isaac your seed shall be called.
Genesis 16:4-6 So he went in to Hagar, and she conceived. And when she saw that she had conceived, her mistress became despised in her eyes. Then Sarai said to Abram, “My wrong be upon you! I gave my maid into your embrace; and when she saw that she had conceived, I became despised in her eyes. The LORD judge between you and me.” So Abram said to Sarai, “Indeed your maid is in your hand; do to her as you please.” And when Sarai dealt harshly with her, she fled from her presence.
Genesis 16:8 And He said, “Hagar, Sarai’s maid, where have you come from, and where are you going?” She said, “I am fleeing from the presence of my mistress Sarai.”