Indian Penal Code, 1860
Whoever gives or causes, or offers or agrees to give or cause, any gratification to any person, or [restores or causes the restoration of] any property to any person, in consideration of that person's concealing an offence, or of his screening any person from legal punishment for any offence, or of his not proceeding against any person for the purpose of bringing him to legal punishment, if a capital offence; if a capital offence;-shall, if the offence is punishable with death, be punished with imprisonment of either description for a term which may extend to seven years, and shall also be liable to fine; if punishable with imprisonment for life, or with imprisonment. if punishable with imprisonment for life, or with imprisonment.- and if the offence is punishable with [imprisonment for life] or with imprisonment which may extend to ten years, shall be punished with imprisonment of either description for a term which may extend to three years, and shall also be liable to fine;