writ of habeas corpus

noun

1.
a writ ordering a prisoner to be brought before a judge