וַ֠יִּפְקֹד שַׂ֣ר הַטַּבָּחִ֧ים אֶת־יוֹסֵ֛ף אִתָּ֖ם וַיְשָׁ֣רֶת אֹתָ֑ם וַיִּהְי֥וּ יָמִ֖ים בְּמִשְׁמָֽר׃
And the captain of the guard charged Joseph to be with them, and he ministered unto them; and they continued a season in ward.
Targum Jonathan on Genesis
And the chief executioner intrusted Joseph with them, and he served them, and they were certain days in the house of custody.