In Khamsa of Nizami by  Nizami Ganjavi, Layla and Majnun, is the subject of the second of his four romances where he reworked the material.
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 adventure of the paired lovers, Layla and Majnun, is the subject of the second of his four romances, and derived from Arabic sources. In all these cases, Nezami reworked the material from his sources in a substantial way. 
