Though the karma of good deeds is essentially supposed to come back to oneself, everything is regarded as being empty in Mahayana Buddhism, so it is possible to turn the karma to others.
善行の報いは本来自分に還るはずだが、大乗仏教においては一切皆空であるから、報いを他に転回することが可能となる。