Wondrous item, uncommon
These manacles behave the same as normal manacles with the following addition: a creature that attempts to cast a spell while wearing the manacles must make a DC 12 ability check using its spellcasting ability. On a failure, the spell fails and has no effect; the spell slot is expended, the action is wasted, and the manacled creature takes 1d6 fire damage per level of the spell slot expended. On a success, the creature takes half as much damage and the spell is cast successfully.
Source: Valda's Spire of Secrets