> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# M.G.L. c. 248, § 3 — Petition for writ; contents; annexed papers

- **Citation**: M.G.L. c. 248, § 3
- **Node Type**: section
- **Jurisdiction**: Massachusetts (state)
- **Code Body**: Massachusetts General Laws (through amendments passed before May 31, 2026) (M.G.L.)
- **Official Source**: [https://malegislature.gov/Laws/GeneralLaws/PartIII/TitleIV/Chapter248/Section3](https://malegislature.gov/Laws/GeneralLaws/PartIII/TitleIV/Chapter248/Section3)
- **Canonical URL**: [https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-3](https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-3)
- **Semantic URL**: [https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-3](https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-3)

## Hierarchy

Part Part III — COURTS, JUDICIAL OFFICERS AND PROCEEDINGS IN CIVIL CASES > Title Title IV — CERTAIN WRITS AND PROCEEDINGS IN SPECIAL CASES > Chapter c. 248 — HABEAS CORPUS AND PERSONAL LIBERTY

## Text

c. 248, § 3. Petition for writ; contents; annexed papers

Section 3. The petition for the writ shall be in writing, signed and sworn to by the person for whose release it is intended, or by a person in his behalf, and shall state by whom and where the person is imprisoned or restrained, the name of the prisoner and of the person detaining him, if their names are known, or a description of them, if their names are not known, and the cause or pretence of such imprisonment or restraint, according to the knowledge and belief of the petitioner.

If the imprisonment or restraint is by virtue of a warrant or other process, a copy thereof shall be annexed, unless it appears that such copy has been demanded and refused or that, for a sufficient reason, a demand therefor could not be made.
