Habeas corpus is a writ that states that a person cannot be kept in prison unless they have first been brought before a court of law. A legal document that requires the addressee to produce in court a person in its custody and justify his or her imprisonment.Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. A writ of habeas corpus is an order from a court to an official to produce an inmate. Habeas corpus is a remedy for violations of constitutional rights, such as ineffective assistance of counsel. Habeas corpus is a kind of petition that you can file in federal court to claim that your imprisonment violates federal law. The writ of habeas corpus is the remedy to be used when any person is restrained in his liberty. If you are looking to file a Texas 11.07 Writ of Habeas Corpus application, post-convcition lawyer Sarah Durham is here to help. A writ of habeas corpus is a legal tool for enforcing a superior right of possession to a child. The attorney general represents the state or territory in a federal habeas corpus proceeding.