Contact an award-winning Writ of Habeas Corpus lawyer today. Petition for a Writ of Habeas Corpus under 28 USC 2241.Category Representing Yourself (Pro Se). Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. To speak with a Habeas Corpus proceedings lawyer in NYC about your case, contact Protass Law PLLC right away at 212-455-0335. This article addresses a defendant's right to file a federal petition for a writ of habeas corpus from a conviction in a state court. A Writ of Habeas Corpus is a civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment. This Chapter discusses how the writ of habeas corpus is applied in three states: Florida, New York, and Michigan. This online program from Family Legal Care guides you through filling out a Petition for a Writ of Habeas Corpus. As a procedural remedy, it applies when detention results from neglect of legal process, but not when the lawfulness of the process itself is in question.