John Gills Exposition of the Bible Commentary - Genesis 40:8
And they said unto him, we have dreamed a dream ,.... Each of them: and there is no interpreter of it ; in that place in which they were, the prison; otherwise there were persons enough in the land that pretended to the interpretation of dreams, Genesis 41:8 ; but they could not come at them, being in prison: and Joseph said unto them, do not interpretations belong to God ? that is, of dreams, and to him only, meaning the true God whom he worshipped; for as dreams themselves,... read more
Matthew Henry's Complete Commentary - Genesis 40:5-19
Observe, I. The special providence of God, which filled the heads of these two prisoners with unusual dreams, such as made extraordinary impressions upon them, and carried with them evidences of a divine origin, both in one night. Note, God has immediate access to the spirits of men, which he can make serviceable to his own purposes whenever he pleases, quite beyond the intention of those concerned. To him all hearts are open, and anciently he spoke not only to his own people, but to others,... read more