Whoever, being a public servant, and being as such public servant, charged with the preparation of any record or other writing, frames that record or writing in a manner which he knows to be incorrect, with intent to cause, or knowing it to be likely that he will thereby cause, loss or injury to the public or to any person, or with intent thereby to save, or knowing it to be likely that he will thereby save, any person from legal punishment, or with intent to save, or knowing that he is likely thereby to save, any property from forfeiture or other charge to which it is liable by law, shall be punished with imprisonment of either description for a term which may extend to three years, or with fine, or with both.
CHAPTER XIV OF FALSE EVIDENCE AND OFFENCES AGAINST PUBLIC JUSTICE
Section 256: Public servant framing incorrect record or writing with intent to save person from punishment or property from forfeiture
The Bharatiya Nyaya Sanhita, 2023
Corresponding IPC provision
As given in the correspondence table of the National Crime Records Bureau (Ministry of Home Affairs). Read both texts before relying on it. NCRB table