Whoever unlawfully or negligently does any act which is, and which he knows or has reason to believe to be, likely to spread the infection of any disease dangerous to life, shall be punished with imprisonment of either description for a term which may extend to six months, or with fine, or with both.
CHAPTER XV OF OFFENCES AFFECTING THE PUBLIC HEALTH, SAFETY, CONVENIENCE, DECENCY AND MORALS
Section 271: Negligent act likely to spread infection of disease dangerous to life
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