Jubilees 40:1-13
1In those days Pharaoh dreamed two dreams in one night concerning a famine that was to come upon all the land. He awoke from his sleep and called all the interpreters of dreams that were in Egypt, along with the magicians, and told them his two dreams, but they were not able to explain them.
2Then the chief butler remembered Joseph and spoke of him to the king, and the king brought him out from the prison, and Joseph told his two dreams before him.
3And he said before Pharaoh that his two dreams were one, and he said to him: 'Seven years are coming in which there will be plenty throughout all the land of Egypt, and after that seven years of famine, such a famine as has never been in all the land.
4Now let Pharaoh appoint overseers throughout all the land of Egypt, and let them store up food in every city during the days of the years of plenty, and there will be food for the seven years of famine, and the land will not perish through the famine, for it will be very severe.'
5And the Lord gave Joseph favor and mercy in the eyes of Pharaoh, and Pharaoh said to his servants, 'We shall not find such a wise and discerning man as this man, for the spirit of the Lord is with him.'
6And he appointed him second in all his kingdom and gave him authority over all Egypt, and caused him to ride in the second chariot of Pharaoh.
7And he clothed him with fine linen garments, and put a gold chain upon his neck, and a herald proclaimed before him, 'El El wa Abirer,' and he placed a ring on his hand and made him ruler over all his house, and magnified him, and said to him, 'Only on the throne shall I be greater than you.'
8And Joseph ruled over all the land of Egypt, and all the princes of Pharaoh, and all his servants, and all who carried out the king's business loved him, for he walked in uprightness, and he was without pride or arrogance, and he showed no partiality and did not accept gifts, but he judged all the people of the land with uprightness.
9And the land of Egypt was at peace before Pharaoh because of Joseph, for the Lord was with him, and gave him favor and mercy for all his generations before all those who knew him and those who heard about him, and Pharaoh's kingdom was well ordered, and there was no Satan and no evil person in it.
10And the king called Joseph's name Sephantiphans, and gave Joseph as wife the daughter of Potiphar, the daughter of the priest of Heliopolis, the chief cook.
11And on the day that Joseph stood before Pharaoh he was thirty years old [when he stood before Pharaoh].
12And in that year Isaac died. And it came to pass, as Joseph had said in the interpretation of his two dreams, just as he had said, there were seven years of plenty over all the land of Egypt, and the land of Egypt produced abundantly, one measure producing eighteen hundred measures.
13And Joseph gathered food into every city until they were full of grain, until they could no longer count or measure it because of its great quantity.