When, upon application to the supreme court for a writ of habeas corpus, it is apparent that no necessity exists for its immediate issuance, and a district court has entertained an application for the writ, and, upon hearing, quashed it, the supreme court will require all the papers, including the application and supporting affidavits, the return and supporting affidavits, and the order of such lower court, to accompany the application made to said court. In emergency cases, the foregoing requirement may be waived.
N.D.C.C. § 32-22-06