The Ramayana, also known as Valmiki Ramayana, as traditionally attributed to Valmiki, is a smriti text from ancient India, one of the two important epics of Hinduism known as the Itihasas, the other being the Mahabharata. From Wikipedia
The actor explained he apologised to Taimur for playing a villain, not for the film itself, following media speculation.