Instructions and Form for Filing a Petition for Writ of Habeas Corpus Under 28 USC § 2241. Petition For Writ Of Habeas Corpus (Under 28 USC 2241) Form.This is a Maryland form and can be use in District Court Federal. Supreme Court, any justice thereof, the district courts and any circuit judge within their respective. Most Maryland court forms and brochures are available in this index. Habeas corpus is a kind of petition that you can file in federal court to claim that your imprisonment violates federal law. § 2241 unless the appropriate form is completed. § 2241 unless the appropriate form is completed. "Petition for a Writ of Habeas Corpus" Form and the Memorandum. This practice advisory addresses the nuts and bolts of immigration habeas petitions under the civil habeas statute, 28 U.S.C. § 2241.