Anachronism
Nounsomething that is placed, for example in a book or play, in the wrong period of history; the fact of placing something in the wrong period of history
The book is full of anachronisms which suggests there were parts rewritten in later centuries.
Sanskrit equivalent
कालोल्लेखदोषः