Medium fiend (rakshasa, Escolhido de Asmodeus, Any
Limited Magic Immunity.
Mahadi can't be affected or detected by spells of 6th level or lower unless he wishes to be. He has advantage on saving throws against all other spells and magical effects.
Innate Spellcasting.
Mahadi's innate spellcasting ability is Charisma (spell save DC 18, +9 to hit with spell attacks). He can innately cast the following spells, requiring no material components:
At will: detect thoughts, disguise self, mage hand, minor illusion
3/day each: charm person, detect magic, dispel magic, hellish rebuke, invisibility, major image, speak with dead, suggestion
1/day each: banishment, demiplane, dominate person, fly, forcecage, geas, plane shift, true seeing
Magic Weapons.
Mahadi's weapon attacks are magical.
Multiattack. Mahadi makes four claw attacks. Claw. Melee Weapon Attack: +7 to hit, reach 5 ft., one target. Hit: 9 (2d6 + 2) slashing damage, and the target is cursed if it's a creature. The curse takes effect whenever the target takes a short or long rest, filling the target's thoughts with horrible images and dreams. The cursed target gains no benefit from finishing a short or long rest. The curse lasts until it is lifted by a remove curse spell or similar magic. Summon Erinyes (1/ Day). Mahadi summons llzabet, an erinyes bound to him by an infernal contract. The erinyes appears in an unoccupied space within 60 feet of him, acts as his ally, and can't summon other devils. The erinyes remains for 10 minutes or until Mahadi dismisses it as an action. If the erinyes dies, Mahadi loses this action option.