And We ordained for them therein a life for a life , an eye for an eye , a nose for a nose , an ear for an ear , a tooth for a tooth , and for wounds is legal retribution . But whoever gives [ up his right as ] charity , it is an expiation for him .