text: If a spell or ability causes another player to gain control of Hellish Rebuke while it is on the stack, permanents controlled by the opponents of that player will gain the ability (probably including permanents you control). However, you're still the player that cast Hellish Rebuke, so the ability will trigger whenever one of those permanents deals damage to you, not the player who controlled Hellish Rebuke as it resolved.