Captain And Custody in the WEB
2 verses of the World English Bible have both "captain" and "custody".
Genesis 40:3 He put them in custody in the house of the captain of the guard, into the prison, the place where Joseph was bound.
Genesis 41:10 Pharaoh was angry with his servants, and put me in custody in the house of the captain of the guard, with the chief baker.