A habeas corpus petition is used to argue that a person is being unlawfully held in custody, and should be released. Application And Writ Of Habeas Corpus Ad Prosequendum PDF, 204 KB. These files may not be suitable for users of assistive technology.In the field shown, click on Petition for Writ of Habeas Corpus, then click on Next. 22. The case number should appear. Habeas corpus is a collateral attack on a judgment of imprisonment and is not a substitute for appeal. Use this form to obtain the presence of a witness in a civil or criminal case. Petition for Writ of Habeas Corpus. Habeas corpus is Latin for "you have the body. Habeas corpus relief does not determine actual guilt or innocence but is used strictly to determine whether your imprisonment was lawful. If any person shall make a false return to a writ of habeas corpus, he shall be guilty of a Class 1 misdemeanor.