Genesis 40:4-5. The captain of the guard —Namely, Potiphar, Genesis 37:36, who, probably being informed by his under-keeper of Joseph’s great care and faithfulness, began to have a better opinion of him, although for his own quiet and his wife’s reputation, he left him still in prison.
According to the interpretation of his dream —By Joseph. The dream and the interpretation answered each other.