‏ Genesis 40:2-3

2And Pharaoh was angry with his two officers, the chief cupbearer and the chief baker, 3 aand he put them in custody in the house of the captain of the guard, in the prison where Joseph was confined.
Copyright information for ESV