After the Ishmaelite traders brought Joseph down to Egypt, he was purchased by an Egyptian officer of Pharaoh, the captain of the guard, whose name was Potiphar.
Then one night, they both dreamed—the steward and the baker, officials of the king of Egypt. They each had a prophetic dream with different interpretations.