Any person who‐
[1967 No. 27.]
(a) becomes an accessory after the fact to treason; or
(b) knowing that any person intends to commit treason, does not give information thereof with all reasonable despatch to the President or the Governor of the State or a peace officer, or use other reasonable endeavours to prevent the commission of the offence, is guilty of a felony and is liable to imprisonment for life.
Section 40 of the Criminal Code Act in Nigeria