Application And Writ Of Habeas Corpus Ad Prosequendum PDF, 204 KB. These files may not be suitable for users of assistive technology. The following steps should be followed when filing a Petition for Writ of Habeas Corpus. 1.Go to Civil on the blue bar located at the top of the screen. A writ of habeas corpus requires that a person who is in custody be brought before a judge or court and that they be able to challenge that custody. A habeas corpus petition is used to argue that a person is being unlawfully held in custody, and should be released. Prisoner Information and Forms. The prosecutor requests that a Writ of. This section focuses on four writs: mandamus, prohibition, supersedeas, and certiorari. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. This petition, called a writ of Habeas Corpus, is filed in Federal Court (US District Court ) whether you are serving time in a federal or state prison.