‏ Genesis 40:3-4

3 aand he put them in custody in the house of the captain of the guard, in the prison where Joseph was confined. 4The captain of the guard appointed Joseph to be with them, and he attended them. They continued for some time in custody.

Copyright information for ESV