He put them in prison in the house of the captain of the palace guard. It was the same prison where Joseph was kept.