(1) Any person who by force rescues or attempts to rescue from lawful custody any other
(a) is, if the last‐named person is under a sentence of death or penal servitude or imprisonment for life, or charged with an offence punishable with death, or penal servitude or imprisonment for life, guilty of a felony and is liable to imprisonment for life; and
(b) is, in any other case, guilty of a felony and is liable to imprisonment for seven years.
(2) If the person rescued is in the custody of a private person, the offender must have notice of the fact that the person rescued is in such custody.
Section 134 of the Criminal Code Act in Nigeria