Defendant. Writ of Habeas Corpus ad Testificandum. Case No. <Enter case number>.Defendant. Writ of Habeas Corpus ad Prosequendum. He filed a petition for a writ of habeas corpus in the Federal District Court here, which was denied. Thereafter he filed an amended petition in the same court. Instead, the State claims that Utah courts were exercising a "common law" writ of habeas corpus that was "completely distinct from the core constitutional writ. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. Archuleta raised his Atkins claim in a federal habeas petition. (Petition for Writ of Habeas Corpus, Archuleta v. Patterson's opening brief is simple: the.