The keeper of the prison looked not to anything [that was]
under his hand
Under the hand of Joseph; he did not inquire into and examine his conduct and management of things; he took no account of what was in his hands, nor required any of him; so satisfied was he with what he did, and had such an opinion of his prudence and faithfulness. The Targums of Onkelos and Jonathan paraphrase it,
``he saw no crime in him,''
either in the management of affairs he committed to him, or for which he was put into prison, and therefore did not use him as he did other prisoners: because the Lord was with him
supplying him with his grace, giving him wisdom to do everything in the best manner committed to him, which caused the keeper of the prison to respect him as he did: and [that] which he did the Lord made [it] to prosper
every method he took to secure the prisoners, every scheme he formed to bring them to confession of their crimes, or to clear those that were innocent; and every other thing relative to prison affairs, all through the good hand of God upon him, guiding, directing, and blessing him, succeeded well, which gained him the favour and good will of the keeper and the prisoners.