Absorb Prosperity (5e Spell)
From D&D Wiki
You absorb the cunning and even the luck of your foe, spinning their good turn of fate into yours.
This spell is cast as a reaction when any creature within its range makes a roll with advantage. The creature must make a Wisdom saving throw, losing the advantage for the roll on a failed save. If the creature fails, you gain advantage on the next saving throw, ability check, or attack roll you make before the end of your next turn.
At Higher Levels. When this spell is cast with a spell slot of the 3rd level or higher, if the creature fails it's saving throw and you gain its advantage, you can give that advantage up to grant advantage to an ally you can see within 30 feet. This advantage can be applied to an attack roll, ability check, or saving throw. Also, when the creature fails it's saving throw, it loses its advantage and gains disadvantage on the roll.