Idaho Const. art. I, § 5
The privilege of the writ of habeas corpus shall not be suspended, unless in case of rebellion or invasion, the public safety requires it, and then only in such manner as shall be prescribed by law.