Habeas corpus – From Latin: this term is used in court trials, where details a court petition which orders that a person being detained be produced before a judge for a hearing to decide whether the detention is lawful.
See also http://www.lectlaw.com/def/h001.htm .