If the target permanent is an illegal target when Dinrova Horror’s ability tries to resolve, the ability won’t resolve and none of its effects will happen. No player will discard a card.

Artwork
Loading artwork…
Dinrova Horror
Jumpstart · #450 · EN
Nonfoil—Foil—
Card rules
When this creature enters, return target permanent to its owner's hand, then that player discards a card.
4/4
"Welcome to the Dimir Public Offices. Not responsible for death or loss of property. Basement off-limits." —Sign outside Dinrova Building
Uncommon · Illustrated by Johann Bodin
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If a player has no cards in their hand and Dinrova Horror returns a card to that player’s hand, the player must discard that card. They won’t have the opportunity to cast that card (or do anything else with it) before discarding it.
A token permanent returned to a player’s hand isn’t a card and can’t be discarded. It will cease to exist when state-based actions are performed after the ability finishes resolving.