Manusmriti
मनुष्याणां पशूनां च दुःखाय प्रहृते सति । यथा यथा महद् दुःखं दण्डं कुर्यात् तथा तथा ॥ २८६ ॥
If a blow is struck against men or animals in order to (give them) pain, (the judge) shall inflict a fine in proportion to the amount of pain (caused).
english translation
manuSyANAM pazUnAM ca duHkhAya prahRte sati । yathA yathA mahad duHkhaM daNDaM kuryAt tathA tathA ॥ 286 ॥
hk transliteration by Sanscript