and he put them in custody in the house of the captain of the guard, in the prison where Joseph was confined.
We should not have had this story of Pharaoh's butler and baker recorded in scripture if it had not been serviceable to Joseph's preferment. The world stands for the sake of the church, and is governed for its good. Observe, 1. Two of the great officers of Pharaoh's court, having offended the king, are committed to prison.
Commenting on Genesis 40:1-4
And he put them in ward in the house of the captain of the guard,.... Who is generally thought to be Potiphar, since this was the office he was in, Gen 39:1; unless he was dead, and there was another put into his room, or there were more than one in the same office: into the prison, the place where Joseph was bound; that is...
Pharaoh put them in ward, &c.--Whatever was their crime, they were committed, until their case could be investigated, to the custody of the captain of the guard, that is, Potiphar, in an outer part of whose house the royal prison was situated.