44-1-8. [Wrongful refusal of writ; forfeiture.]
If any officer herein authorized to grant writs of habeas corpus willfully refuses to grant such writ when legally applied for, he shall forfeit for any such offense, to the party aggrieved, one thousand dollars [($1,000)].