Leviticus 24:19

New American Standard Bible (NASB)
If a man [h]injures his neighbor, just as he has done, so it shall be done to him:

Read Leviticus 24:19 in other translations