habeas corpus

noun

1.
a writ ordering a prisoner to be brought before a judge
2.
the civil right to obtain a writ of habeas corpus as protection against illegal imprisonment