Section 299 BNS or Section 299 of Bharatiya Nyaya Sanhita talks about "Deliberate and malicious acts, intended to outrage religious feelings of any class by insulting its religion or religious beliefs."
Section 299 of BNS is part of CHAPTER XVI OF OFFENCES RELATING TO RELIGION in Bharatiya Nyaya Sanhita 2023 Act
Definition of Section 299 BNS
Whoever, with deliberate and malicious intention of outraging the religious feelings of any class of citizens of India, by words, either spoken or written, or by signs or by visible representations or through electronic means or otherwise, insults or attempts to insult the religion or the religious beliefs of that class, shall be punished with imprisonment of either description for a term which may extend to three years, or with fine, or with both.