Genesis 40:3-7 Christian Standard Bible (CSB)
3 and put them in custody in the house of the captain of the guards in the prison where Joseph was confined. 4 The captain of the guards assigned Joseph to them as their personal attendant, and they were in custody for some time.[a]
5 The king of Egypt’s cupbearer and baker, who were confined in the prison, each had a dream. Both had a dream on the same night, and each dream had its own meaning. 6 When Joseph came to them in the morning, he saw that they looked distraught. 7 So he asked Pharaoh’s officers who were in custody with him in his master’s house, “Why do you look so sad today?”
Genesis 41:10 Christian Standard Bible (CSB)
10 Pharaoh was angry with his servants, and he put me and the chief baker in the custody of the captain of the guards.