The Birth of Ishmael 1
Now Sarai, Abram's wife, had not been able to bear children for him. But she had an Egyptian servant named Hagar.
So Sarai said to Abram, "The LORD has prevented me from having children. Go and sleep with my servant. Perhaps I can have children through her." And Abram agreed with Sarai's proposal.
So Sarai, Abram's wife, took Hagar the Egyptian servant and gave her to Abram as a wife. (This happened ten years after Abram had settled in the land of Canaan.)
So Abram had sexual relations with Hagar, and she became pregnant. But when Hagar knew she was pregnant, she began to treat her mistress, Sarai, with contempt.
Then Sarai said to Abram, "This is all your fault! I put my servant into your arms, but now that she's pregnant she treats me with contempt. The LORD will show who's wrong—you or me!"
Abram replied, "Look, she is your servant, so deal with her as you see fit." Then Sarai treated Hagar so harshly that she finally ran away.
The angel of the LORD found Hagar beside a spring of water in the wilderness, along the road to Shur.
The angel said to her, "Hagar, Sarai's servant, where have you come from, and where are you going?"
"I'm running away from my mistress, Sarai," she replied.
The angel of the LORD said to her, "Return to your mistress, and submit to her authority."
Then he added, "I will give you more descendants than you can count."
And the angel also said, "You are now pregnant and will give birth to a son. You are to name him Ishmael (which means `God hears'), for the LORD has heard your cry of distress.
This son of yours will be a wild man, as untamed as a wild donkey! He will raise his fist against everyone, and everyone will be against him. Yes, he will live in open hostility against all his relatives."
Thereafter, Hagar used another name to refer to the LORD, who had spoken to her. She said, "You are the God who sees me." 
She also said, "Have I truly seen the One who sees me?"
So that well was named Beer-lahai-roi (which means "well of the Living One who sees me"). It can still be found between Kadesh and Bered.
So Hagar gave Abram a son, and Abram named him Ishmael.
Abram was eighty-six years old when Ishmael was born.