Genesis 16:2

New International Version Bible (NIV)
so she said to Abram, “The Lord has kept me from having children. Go, sleep with my slave; perhaps I can build a family through her.”

Abram agreed to what Sarai said.

Read Genesis 16:2 in other translations