In your petition, clearly explain why you are being held illegally. In this video, David offers insight on how to file habeas corpus and compassionate release motions.No. PETITION FOR WRIT OF HABEAS CORPUS AD TESTIFICANDUM. This Chapter explains the writ of habeas corpus and lays out the procedures you will need to follow to petition for the writ. 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. A writ of habeas corpus is used to bring a prisoner or other detainee (e.g. The Supreme Court also has discretionary original jurisdiction in cases relating to State revenue and writs of mandamus, prohibition or habeas corpus. Is detained in the following institution: further represents to the Court that this person's presence is required for in the Northern District of Illinois. Petitioner brings this petition before the Missouri. Otakar Kirchner was granted leave to file with this court a complaint for writ of habeas corpus on behalf of his son on November 15, 1994.