IPC Section 171G penalizes the promotion or attempt to promote feelings of enmity between different groups on grounds of religion, race, place of birth, residence, language, etc.
IPC Section 326B addresses the offence of voluntarily causing grievous hurt by dangerous weapons or means, ensuring protection against serious bodily harm.