Steady Guard Rapier (5e Equipment)
From D&D Wiki
Weapon (rapier), very rare
You have a +2 bonus to attack and damage rolls made with this magic weapon. If you roll a 1 on the damage roll for this weapon, reroll it and use the new result. When you are hit by a melee attack, you can use your reaction to reduce the damage by 1d6 + your Dexterity modifier. If the damage is reduced below 0, you can make a weapon attack against the creature with disadvantage.