Mirror of Self Reflection (5e Equipment)
From D&D Wiki
Wondrous item, very rare (requires attunement by a spellcaster)
A cracked hand mirror with a silver handle. Whenever you fail a ranged spell attack roll, you may choose to cause the spell to reverse direction and return towards a target within 10 feet of you.