וְאִ֕ישׁ כִּֽי־יִתֵּ֥ן מ֖וּם בַּעֲמִית֑וֹ כַּאֲשֶׁ֣ר עָשָׂ֔ה כֵּ֖ן יֵעָ֥שֶׂה לּֽוֹ׃
Y el que causare lesión en su prójimo, según hizo, así le sea hecho:
Bartenura
ושור אינו משלם אלא נזק – as it is written (Leviticus 24:19): “If anyone [maims] his fellow, [as he has done so shall it be done to him,” and not an ox for its fellow.
Bartenura
החובל בחבירו ביה"כ חייב – even though that in the entire Torah , a person who violates a transgression for which he is liable for flogging and payment, he is flogged but does not pay. Here, he pays and is not flogged. For in the commentary, the Torah widened the scope of the law concerning a person who strikes his fellow for payment and not for stripes, from what is written (Deuteronomy 19:21): “hand for hand,” which is money since it is written (Leviticus 24:19): “as he has done so shall it be done to him.” Why does it say “hand for hand?” But rather to include a person who strikes his fellow on Yom Kippur that pays and does not get flogged.
Bartenura
שורו שבייש פטור – as it is written (Leviticus 24:19): “If anyone [maims] his fellow, [as he has done so shall it be done to him],” and not “an ox to its fellow.” Alternatively, the one causing an indignity is not liable other than when he causes an indignity/puts to shame with intention, but an ox does not “intend” to cause an indignity/put to shame to anyone.
Rashi
When I applied my heart. This “כַּאֲשֶׁר” is not used as an expression of an example, as in, “as כַּאֲשֶׁר he did, so shall it be done,”35Vayikra 24:19. rather it is an expression of time, as in, “When כַּאֲשֶׁר Yoseif came,”36Bereishis 37:23. [and as in,] “when כַּאֲשֶׁר they finished eating, etc.”37Ibid. 43:2. This too is so, When כַּאֲשֶׁר I applied my heart “to know, to explore, etc.,”38Above 7:25. then, “I saw all the works of God.”