Whoever, being a public servant legally bound as such public servant to keep in confinement any person charged with or convicted of any offence [or lawfully committed to custody], negligently suffers such person to escape from confinement, shall be punished with simple imprisonment for a term which may extend to two years, or with fine, or with both.
Section 223 IPC
Escape from confinement or custody negligently suffered by public servant
The Indian Penal Code, 1860 is repealed. It was replaced by The Bharatiya Nyaya Sanhita, 2023 from 1 July 2024; this provision still applies to matters that arose before then.