The term "prisoner", as used in connection with habeas corpus, means the person on whose behalf the writ is issued, such as an inmate of a penal or mental institution, the child whose custody is sought, and other persons alleged to be restrained of their liberty.
MCL 600.4322