Yoreh Deah Siman 267 Seif 39
לט הִפִּיל שֵׁן עַבְדּוֹ וְסִמֵּא עֵינוֹ, יוֹצֵא בְּשִׁנּוֹ וְאֵינוֹ נוֹתֵן דְּמֵי עֵינוֹ. וְאִם תָּפַס אֵין מוֹצִיאִין מִיָּדוֹ. וְאִם כָּתַב לוֹ גֵּט שִׁחְרוּר בֵּין הִפִּיל שִׁנּוֹ לְסִמֵּא עֵינוֹ, חַיָּב לִתֵּן לוֹ דְּמֵי עֵינוֹ
If one knocks out the tooth of his slave and blinds his eye, he goes free and does not have to pay damages for his eye. If he seizes the money owed to him we don’t remove it from his hand. And if he (his master) writes him a bill of release in the middle of knocking his tooth and blinded his eye, he is obligated to pay damages for his eye.