Forms Find a national federal court form that can be used in all federal courts. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration.Having considered the motion and pleadings, having reviewed the file, and being otherwise fully informed, the court enters the following. It provides an expeditious remedy for correcting erroneous sentences without resort to habeas corpus. "Filing" means to give documents to the court. Attorneys are required to eFile all documents with the court. Federal prisoners may file two different kinds of motions for post-conviction relief: "Section 2255 motions" and "Section 2241 habeas corpus petitions." To file a Section 2255 motion, you must be in custody and have exhausted all other available legal remedies, such as a direct criminal appeal. 2255 motion, will also be discussed because of the particular problems it presents in the District of. Federal Writ of Habeas Corpus For Those In Federal Custody 28 USCA 2255.