6. Mail the completed petition and one copy to the U. S. District Clerk. Available as both a PDF and Word document.Petition for a Writ of Habeas Corpus Under 28 U.S.C. § 2241. § 2241 is to allow individuals in federal or state custody to challenge the legality of their detention. Many forms in Texas are not available in a fillintheblank format. Justia - Petition for a Writ of Habeas Corpus Pursuant to 28 U.S.C. 2241 - Oregon - District Court - Federal - Free Legal Forms - Justia Forms. Fill out the Petition for Writ of Habeas Corpus to Return Child. An application for a writ of habeas corpus must be made to the appropriate district court. If made to a circuit judge, the application must be transferred. You must use Form 2441 to figure the amount, if any, of the benefits you can exclude from your income.