وَدَخَلَ مَعَهُ ٱلسِّجْنَ فَتَيَانِ ۖ قَالَ أَحَدُهُمَآ إِنِّىٓ أَرَىٰنِىٓ أَعْصِرُ خَمْرًا ۖ وَقَالَ ٱلْءَاخَرُ إِنِّىٓ أَرَىٰنِىٓ أَحْمِلُ فَوْقَ رَأْسِى خُبْزًا تَأْكُلُ ٱلطَّيْرُ مِنْهُ ۖ نَبِّئْنَا بِتَأْوِيلِهِۦٓ ۖ إِنَّا نَرَىٰكَ مِنَ ٱلْمُحْسِنِينَ
Commentary:
The expression معه (with him) does not necessarily mean that the two youths were sent to prison with Joseph at the same time. It only means that they were kept in the same prison with him.
The dreams of the butler and the baker are given in detail in Genesis (chap. 40), but their substance is the same as given in the Quran. The fact that they asked Joseph the interpretation of their dreams shows that he was held in very high esteem in the prison for his piety; for it is only from highly spiritual and pious persons that men ask the interpretation of their dreams. His two fellow-prisoners pay a further tribute to Joseph’s piety in the words, we see thee to be of the righteous.
For the dreams of the butler and the baker see Gen. ch. 40.