Genesis 41:11-16

41:11 We each had a dream one night; each of us had a dream with its own meaning. 41:12 Now a young man, a Hebrew, a servant of the captain of the guards, was with us there. We told him our dreams, and he interpreted the meaning of each of our respective dreams for us. 41:13 It happened just as he had said to us – Pharaoh restored me to my office, but he impaled the baker.”

41:14 Then Pharaoh summoned Joseph. So they brought him quickly out of the dungeon; he shaved himself, changed his clothes, and came before Pharaoh. 41:15 Pharaoh said to Joseph, “I had a dream, and there is no one who can interpret it. But I have heard about you, that you can interpret dreams.” 41:16 Joseph replied to Pharaoh, “It is not within my power, but God will speak concerning the welfare of Pharaoh.”

Genesis 41:25

41:25 Then Joseph said to Pharaoh, “Both dreams of Pharaoh have the same meaning. God has revealed to Pharaoh what he is about to do.