Exodus 21:19

if he rises again and walks about outside with his staff, then he who struck him shall be acquitted. He shall only pay for the loss of his time, and shall provide for him to be thoroughly healed.

Surrounding context

21:18 "If men contend with each other, and one strikes the other with a stone or with his fist, and he does not die but is confined to his bed,

21:19 if he rises again and walks about outside with his staff, then he who struck him shall be acquitted. He shall only pay for the loss of his time, and shall provide for him to be thoroughly healed.

21:20 "And if a man beats his male or female servant with a rod, so that he dies under his hand, he shall surely be punished.

Translation and sources