"When a cultivator is subjected to criticism and slander, he should think: 'that person is bringing me merit.' Why is this so? It is because, from time immemorial, we have committed obstructive transgressions. If we are the object of one word of scorn and belittlement, our bad karma has been lightened by one part. Are we not then receiving merit and benefit? Those who engage in scornful speech and slander will certainly suffer retribution; through delusion, they bring calamity upon themselves"
"Listen, for example, to the following from Asanga: 'If another does harm to the Bodhisattva, the latter endures with patience the worst injuries, with the idea that it is a benefit he has received. To think that the offender does one a service, this is to conduct oneself in accord with the example of the Perfect Ones, i.e., the Buddhas.'" (From Asanga's Mahayana Sutralamkara).