The writ of habeas corpus to inquire into the cause of detention, or an order to show cause why the writ should not issue, may be issued by the following:
(1) The supreme court, or a justice thereof.
(2) The court of appeals, or a judge thereof.
(3) The circuit courts, or a judge thereof.
(4) The municipal courts of record, including but not limited to the recorder's court of the city of Detroit, common pleas court, or a judge thereof.
(5) The district courts, or a judge thereof.
1961, Act 236, Eff. 1/1/1963 ;--Am. 1967, Act 65, Imd. Eff. 6/20/1967 ;--Am. 1974, Act 297, Eff. 4/1/1975.