Genesis 40:1-6 RSV

1 Some time after this, the butler of the king of Egypt and his baker offended their lord the king of Egypt.
2 And Pharaoh was angry with his two officers, the chief butler and the chief baker,
3 and he put them in custody in the house of the captain of the guard, in the prison where Joseph was confined.
4 The captain of the guard charged Joseph with them, and he waited on them; and they continued for some time in custody.
5 And one night they both dreamed--the butler and the baker of the king of Egypt, who were confined in the prison--each his own dream, and each dream with its own meaning.
6 When Joseph came to them in the morning and saw them, they were troubled.