Use this if you have a court order giving you custody of your child and the other parent has taken your child away from you. Petition for Writ of Habeas Corpus Under 28 U.S.C. § 2254.Form: PDF icon 2254 Petition for Writ of Habeas Corpus - State Custody Rev. Petition for Writ of Habeas Corpus. Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal 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. Through a writ of habeas corpus, which requires that you go through your state court system before seeking relief from a federal court. In the State of Washington when our county is involved. ______ Certified copy of the Warrant In Aid of Writ of Habeas Corpus (3 sets) - the original writ was.