Ramayana is an age old epic said to have been written by Valmiki, who was himself a reformed dacoit called Ratnakar. Ratnakar took to crime to feed his hungry family. 

Uttara Kanda, the seventh book of Ramayana explains it all in details. Sage Narada, a character who shuttles between heaven and Earth in Hindu lore, asked the bandit to check with his family if they would stand by him if he were punished. When they said they would not, the dacoit turned to God. Ratnakar was so ferocious that he could not pronounce the name on which Narada asked him to meditate and said ‘Mara‘ which means death. Eventually, he was covered by an anthill and the ‘mara‘ had become Rama. Then he created one of the greatest epic in the history of mankind Sanskrit, Ramayana.

Down the ages, it was converted to multiple languages, some of them being — Persian in the Mughal court, Awadhi Hindi by Tulsidas (1532-1623), Kannada, Tamil and more. The Tamil one was translated by famed novelist RK Narayanan into English as far back as 1972. Now, it has been proliferated into dozens of lore by the likes of Devdutt Patnaik, Chitra Divakaruni, Amish Tripathi and many more.

Recently Dastangoi revivalist, Mahmood Farooqui, adapted this lore for the inmates of Tihar jail, a prison in New Delhi. He used a version by Raghunandan Sahir which fulfilled the needs of uneducated prisoners in Tihar.