Exodus 21:19

Amplified Bible (AMP)
if he gets up and walks around leaning on his cane, then the one who struck him shall be left [physically] unpunished; he must only pay for his loss of time [at work], and the costs [of treatment and recuperation] until he is thoroughly healed.

Read Exodus 21:19 in other translations