Genesis 40:5

5 They both dreamed a dream, each man his dream, in one night, each man according to the interpretation of his dream, the butler and the baker of the king of Mitzrayim, who were bound in the prison.

Genesis 40:5 In-Context

3 He put them in custody in the house of the captain of the guard, into the prison, the place where Yosef was bound.
4 The captain of the guard assigned them to Yosef, and he took care of them. They stayed in prison many days.
5 They both dreamed a dream, each man his dream, in one night, each man according to the interpretation of his dream, the butler and the baker of the king of Mitzrayim, who were bound in the prison.
6 Yosef came in to them in the morning, and saw them, and, saw that they were sad.
7 He asked Par`oh's officers who were with him in custody in his master's house, saying, "Why do you look so sad today?"
The Hebrew Names Version is in the public domain.