Now with him there came into the prison two young men. Said one of them: “I see myself (in a dream) pressing wine.” said the other: “I see myself (in a dream) carrying bread on my head, and birds are eating, thereof.” “Tell us” (they said) “The truth and meaning thereof: for we see thou art one that doth good (to all).”
Two Convicts Enter the Prison and Request Sayiidna Yusuf (pbuh) to Interpret their Dreams
The convicts in the jail were impressed by the exceptional behaviour of Sayyidina Yusuf (pbuh). The light of the Prophethood that he bore as well as his apparent beauty impressed them. Even the jailer admitted that he would have dreed Sayiidina Yusuf (pbuh) if he had authority. [“Ma’alimut Tanzil v. 2 p. 426]
Thereafter two new captives entered the jail. Commentators mention that certain conspirators had used the two of them in an attempt to assassinate the king of Egypt. The one served drinks to the king, while the other baked his bread. They were both bribed to poison the king.
Initially they both accepted the offer, but the one who served drinks later decided to abandon the plot. When the baker served the bread, the one who served the drinks warned the king not to eat it because it was poisoned. Thereupon the baker warned the king not to drink anything since it was also poisoned.
The king then asked the servers of drinks to drink from what he had served. He did so without hesitation and was unaffected. When the king told the baker to ear the bread, he flatly refused. The bread was then given to an animal, and it died. The king then ordered that the two be arrested, pending investigation.
They both saw dreams “One of them (the one who served drinks) said, ‘Indeed I see myself (in a dream) squeezing (grapes to make ) wine.’ The other (the baker) said, ‘I see myself carrying bread upon my head. from which birds are eating.” Relating their dreams to Sayiddina Yusuf (peace be upon him), they asked him, ‘Inform us of the interpretation. We truly deem you to be of the righteoues.”
Madani, Muhammad. Anwar ul Bayan. (vol. 3 p. 64). Collection of Quran Commentaries (Tafsirs) – Islamic Web Library