Yusuf ('Joseph'), 111 Meccan verses, is the Quran's only sustained, single-subject narrative, told from beginning to end: the dream of the eleven stars, the brothers' betrayal, the descent into Egypt, the trial in Potiphar's house, prison, the interpretation of the king's dream, and the reunion and forgiveness of the family. The surah itself calls it 'the most beautiful of narratives' (12:3).
Classical exegetes, al-Tabari among the earliest, read the surah's density of narrative craft, dreams that frame the story at its beginning and resolution, reversals of fortune, and recognition scenes, as itself an argument for revelation, since the Quran presents the account as unknown to Muhammad beforehand and beyond what an unlettered man could have composed. Occasion-of-revelation reports place the surah's revelation in the difficult final years at Mecca, after the deaths of Muhammad's wife Khadija and uncle Abu Talib, so that Joseph's passage from betrayal and imprisonment to vindication is traditionally read as consolation offered to the Prophet in his own year of sorrow. The surah is unusual in narrating its events almost entirely without the interruptions of legal material or direct address to Muhammad's contemporaries that break up most other Meccan surahs, sustaining a single continuous story across nearly the whole chapter.