The king did not put them in prison but rather he commanded for them to be imprisoned. Alternate translation: "He had them put" or "He commanded his guard to put" (See: [[rc://en/ta/man/translate/figs-metonymy]])
This can be stated in active form. Alternate translation: "This was the same prison that Joseph was in" or "This was the same prison Potiphar put Joseph in" (See: [[rc://en/ta/man/translate/figs-activepassive]])