Genesis 41:8-14 King James Version (KJV)
8 And it came to pass in the morning that his spirit was troubled; and he sent and called for all the magicians of Egypt, and all the wise men thereof: and Pharaoh told them his dream; but there was none that could interpret them unto Pharaoh.
9 Then spake the chief butler unto Pharaoh, saying, I do remember my faults this day:
10 Pharaoh was wroth with his servants, and put me in ward in the captain of the guard's house, both me and the chief baker:
11 And we dreamed a dream in one night, I and he; we dreamed each man according to the interpretation of his dream.
12 And there was there with us a young man, an Hebrew, servant to the captain of the guard; and we told him, and he interpreted to us our dreams; to each man according to his dream he did interpret.
13 And it came to pass, as he interpreted to us, so it was; me he restored unto mine office, and him he hanged.
14 Then Pharaoh sent and called Joseph, and they brought him hastily out of the dungeon: and he shaved himself, and changed his raiment, and came in unto Pharaoh.