Whenever an offence has been committed, whoever harbours or conceals a person whom he knows or has reason to believe to be the offender, with the intention of screening him from legal punishment shall,—
(a) if the offence is punishable with death, be punished with imprisonment of either description for a term which may extend to five years, and shall also be liable to fine;
(b) if the offence is punishable with imprisonment for life, or with imprisonment which may extend to ten years, be punished with imprisonment of either description for a term which may extend to three years, and shall also be liable to fine;
(c) if the offence is punishable with imprisonment which may extend to one year, and not to ten years, be punished with imprisonment of the description provided for the offence for a term which may extend to one-fourth part of the longest term of imprisonment provided for the offence, or with fine, or with both.
Explanation.––“Offence” in this section includes any act committed at any place out of India, which, if committed in India, would be punishable under any of the following sections, namely 97, 99, 172, 173, 174, 175, 301,303, 304, 305, 306, 320, 325 and 326 and Dishonestly making false claim in Court. every such act shall, for the purposes of this section, be deemed to be punishable as if the accused person had been guilty of it in India.
Exception.—This section shall not extend to any case in which the harbour or concealment is by the spouse of the offender.
Illustration. A, knowing that B has committed dacoity, knowingly conceals B in order to screen him from legal punishment. Here, as B is liable to imprisonment for life, A is liable to imprisonment of either description for a term not exceeding three years, and is also liable to fine.
Law reference / Bharatiya Nyaya Sanhita, 2023 / Chapter XIV
Section 247. Harbouring offender
OF FALSE EVIDENCE AND OFFENCES AGAINST PUBLIC JUSTICE
Please note: this text is the Bharatiya Nyaya Sanhita Bill, 2023 (Bill No. 121 of 2023, as introduced in the Lok Sabha). Parliament later passed a revised version as Act No. 45 of 2023, which is the law in force from 1 July 2024. Many section numbers differ (for example, murder is clause 101 here but section 103 in the Act), so use the IPC ↔ BNS table for the numbers of the Act and check the official text on India Code before quoting a section.