Genesis 40:5

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.

Genesis 40:5 In-Context

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.
7 So he asked Pharaoh's officers who were with him in custody in his master's house, "Why are your faces downcast today?"
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.