Book of Jubilees
Chapter XXXIX
These are the generations of Jacob. And Joseph was seven- teen years old when they took him down into the land of Egypt, and Potiphar, an eunuch of Pharaoh, of the prison guards and compassion before him, for he saw that the Lord was with him, and that the Lord made all thathe did to prosper.
And he com- mitted all things into his hands, and the chief of the prison guards knew of nothing that was with him, for Joseph did everything, and the Lord perfected it. Joseph interprets the Dreams of the Chief Butler and the Chief Baker (xxxix. - ; cf. Gen. xl.).
And he remained there two years. And in those days Pharaoh, king of Egypt, was wroth against his two eunuchs, against the chief butler and against the chief baker, and he put them in ward in the house of the chief cook, in the prison where Joseph was kept.
And the chief of the prison guards ap- pointed Joseph to serve them ;- and he served before them. ^
And they both dreamed a dream, the chief butler and the chief baker, and they told it to Joseph.
And as he interpreted to them so it befell them, and Pharaoh restored the chief butler to his office, and the (chief) baker he slew, as Joseph had inter- preted to them.