a law that states that a person who has been arrested should not be kept in prison longer than a particular period of time unless a judge in court has decided that it is rightto apply for a writ of habeas corpus
See habeas corpus in the Oxford Advanced Learner's Dictionary