Islamic Interpretation of Dreams (Ibn-i Sirin):

(Adverse; Contrast; Opposite) If one’s opponent is a dead person in the dream, then the good luck goes to the living in wakefulness.

If the opponent is alive, then the better luck goes to the departed person. Opposition in a dream brings forth the better of the two in wakefulness.

(Also see Orbit)