Genesis 40:4

New American Standard Bible (NASB)
The captain of the bodyguard put Joseph in charge of them, and he [a]took care of them; and they were in confinement for [b]some time.

Read Genesis 40:4 in other translations