كيف أصبح النبي يوسف عزيز مصر ؟
This account refers to the interaction between the prophet Joseph and the Ruler of Egypt. Unlike the references to the Pharaoh in the account of Musa (Moses), the account of Joseph refers to the Egyptian ruler as a "malik" (, 'king'), not a "fir'aun" (, 'pharaoh'). After Joseph had been imprisoned for a few years, God granted him the ability to interpret dreams, a power that made him popular amongst the prisoners. One event concerns two royal servants who, prior to Joseph's imprisonment, had been thrown into the dungeon for attempting to poison the food of the king – the name is not given either in the Qur'an or the Bible – and his family. Joseph asked them about the dreams they had, and one of them described that he saw himself pressing grapes into wine. The other one said that he had seen himself holding a basket of bread on his head and the birds were eating it. Joseph reminded the prisoners that his ability to interpret dreams was a favor from God based on his adherence to monotheism. Joseph then stated that one of the men (the one who dreamt of squeezing grapes for wine) would be released from the prison and serve the king but warned that the other would be executed, and so was done in time.
God granted him the ability to interpret dreams