When the party on whose behalf a writ of habeas corpus is sued out is not produced on account of sickness or infirmity, the court or judge before whom the writ is returnable may proceed to decide on the return as if the party had been produced if satisfied of such sickness or infirmity, may proceed to the place where he is imprisoned or detained and there make the examination or may adjourn the examination to another time.
Ala. Code § 15-21-19 (1975)