Right to personal liberty
Section 35(1)(f) · 1999 Constitution (2004 edition)
What Constitution says
(f) for the purpose of preventing the unlawful entry of any person into Nigeria or of effecting the expulsion, extradition or other lawful removal from Nigeria of any person or the taking of proceedings relating thereto: Provided that a person who is charged with an offence and who has been detained in lawful custody awaiting trial shall not continue to be kept in such detention for a period longer than the maximum period of imprisonment prescribed for the offence.
This is the 1999 Constitution as published in 2004. Later amendments aren't included yet, so a section may have changed since.
Original source
Official Gazette · CFRN 1999 official PDF · printed page 35–36. Original document
Release: draft-c8d50d87fae9. Source scope, review and corrections