Immigration Advocates Network is a free national online network that supports legal advocates working on behalf of immigrants' rights. The Memorandum is to provide legal support for your Petition for a Writ of Habeas Corpus and provides required personal information in addition to the form.Habeas corpus petitions are most often filed in district court. The petitioner first obtains permission from the court to file in forma pauperis. The new writ of habeas corpus for a detainee in ICE's custody requires the Court to designate a county sheriff to transport the detainee to and. What form do I use to file a habeas petition? This practice advisory addresses the nuts and bolts of immigration habeas petitions under the civil habeas statute, 28 U.S.C. § 2241. The language in the federal habeas statute that a writ of habeas corpus "may be granted by. As I have said, it relates to an error in the document under which the applicant has been detained in prison. (e) Motions to Strike.