In the Matter of a Proceeding under. ☐Article of the Family Court Act.The procedure for filing a petition for a writ of habeas corpus is spelled out in the CPLR Article 70. A seasoned New York habeas corpus lawyer can guide and represent you in the filing and litigation of a motion for a writ of habeas corpus. A writ of habeas corpus is a judicial mandate to a prison official, usually the warden, ordering that an inmate be brought to the court. This Chapter discusses how the writ of habeas corpus is applied in three states: Florida, New York, and Michigan. Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. United States law affords persons the right to petition the federal courts for a writ of habeas corpus. 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 was evident in the Queen's Proclamation, which promised 'equal and impartial protection of the law' to the native subjects of the conquered.