Article 1, Section 9, Clause 2
St. George Tucker, Blackstone's Commentaries 1:App. 290--921803
The writ of habeas corpus, is the great and efficacious remedy provided for all cases of illegal confinement; and is directed to the person detaining another, commanding him to produce the body of the prisoner, with the day and cause of his caption and detention, to do, submit to, and receive whatsoever the judge or court awarding such writ shall consider in that behalf. In England this is a high prerogative writ, and issues out of the court of king's-bench, not only in term time, but during the vacation, by a fiat from the chief justice, or any other of the judges, and running into all parts of the king's dominions. In Virginia it may issue out of the high court of chancery, the general court, or the court of the district in which the person is confined, and may be awarded by any judge of either of those courts in vacation: and if any judge in vacation, upon view of the copy of the warrant of commitment or detainer, or upon affidavit made, that such copy was denied, shall refuse any writ of habeas corpus, required to be granted by law, such judge shall be liable to the action of the party aggrieved. And by the laws of the United States, all the courts of the United States, and either of the justices of the supreme court, as well as judges of the district courts, have power to grant writs of habeas corpus for the purpose of an enquiry into the cause of commitment. . . . Provided that writs of habeas corpus shall in no case extend to prisoners in gaol, unless they are in custody under, or by colour of the authority of the United States, or are committed for trial before some court of the same, or are necessary to be brought into court to testify.
Here a question naturally occurs: if a person be illegally committed to prison in any state, under, or by colour of the authority of the United States, can any judge, or court of the state in which he is confined, award a writ of habeas corpus, for the purpose of an enquiry into the cause of his commitment? To which, I answer, that if he be committed or detained for any crime, unless it be for treason or felony, plainly expressed in the warrant of commitment, and be neither convicted thereof, nor in execution by legal process, the writ (due requisites being observed) can not be refused him: for the act is imperative, as to awarding the writ. The court or judge, before whom the prisoner is brought, must judge from the return made to the writ, what course he ought to pursue: whether, to discharge him from his imprisonment, or bail him, or remand him again to the custody of the person from whom he may be brought.
In England the benefit of this important writ can only be suspended by authority of parliament. It has been done several times of late years, both in England and in Ireland, to the great oppression of the subject, as hath been said. In the United States, it can be suspended, only, by the authority of congress; but not whenever congress may think proper; for it cannot be suspended, unless in cases of actual rebellion, or invasion. A suspension under any other circumstances, whatever might be the pretext, would be unconstitutional, and consequently must be disregarded by those whose duty it is to grant the writ. The legislatures of the respective states are left, I presume, to judge of the causes which may induce a suspension within any particular state. This is the case, at least, in Virginia.
The Founders' Constitution
Volume 3, Article 1, Section 9, Clause 2, Document 12
The University of Chicago Press
Tucker, St. George. Blackstone's Commentaries: With Notes of Reference to the Constitution and Laws of the Federal Government of the United States and of the Commonwealth of Virginia. 5 vols. Philadelphia, 1803. Reprint. South Hackensack, N.J.: Rothman Reprints, 1969.
Easy to print version.