The Khamsa (Persian: خمسه, 'Quintet' or 'Quinary', from Arabic) or Panj Ganj (Persian: پنج گنج, 'Five Treasures') is the main and best known work of Nizami Ganjavi.
The Khamsa is in five long narrative poems:
The first of these poems, Makhzan-ol-Asrâr, was influenced by Sanai's (d. 1131) monumental Garden of Truth. The four other poems are medieval romances. Khosrow and Shirin, Bahram-e Gur, and Alexander the Great, who all have episodes devoted to them in Ferdowsi's Shahnameh,[1] appear again here at the center of three of four of Nezami's narrative poems. The adventure of the paired lovers, Layla and Majnun, is the subject of the second of his four romances, and derived from Arabic sources.[1] In all these cases, Nezami reworked the material from his sources in a substantial way.[1]
The Khamsa was a popular subject for lavish manuscripts illustrated with painted miniatures at the Persian and Mughal courts in later centuries. Examples include the Khamsa of Nizami (British Library, Or. 12208), created for the Mughal Emperor Akbar in the 1590s. A Khamsa manuscript created for Prince Aurangzeb, the sixth Mughal emperor, is now in the Khalili Collection of Islamic Art. Its illustrations of Bahram Gur depict the character as Aurangzeb.[2]