Section 297
The text of the Indian Penal Code, 1860 is not held here: India Code has no complete official copy of it. The section that replaced it is below.
Source: IndiaCode Portal, Legislative Department, Ministry of Law and Justice, Government of India. Check against the official text before relying on it.
Replaced by
The Bharatiya Nyaya Sanhita, 2023, Section 301. Trespassing on burial places, etc.
Whoever, with the intention of wounding the feelings of any person, or of insulting the religion of any person, or with the knowledge that the feelings of any person are likely to be wounded, or that the religion of any person is likely to be insulted thereby, commits any trespass in any place of worship or on any place of sepulchre, or any place set apart for the performance of funeral rites or as a depository for the remains of the dead, or offers any indignity to any human corpse, or causes disturbance to any persons assembled for the performance of funeral ceremonies, shall be punished with imprisonment of either description for a term which may extend to one year, or with fine, or with both.
Pair from: BPR&D correspondence tables (bprd.mha.gov.in; A. K. Yadav, CAPT Bhopal)