Exodus 1:15-17

15 And the king of Egypt spoke to the Hebrew midwives, of which the name of the one [was] Shiphrah, and the name of the other Puah.

16 And he said, When you midwife the Hebrew women, and look on the birth stools, if it [is] a son, then you shall kill him. But if it [is] a daughter, then she shall live.

17 But the midwives feared God, and did not do as the king of Egypt commanded them, but saved alive the male children.