The ability checks whether the targeted card is a Goblin when the ability resolves.

Artwork
Loading artwork…
Warren Pilferers
Modern Masters · #103 · EN
Nonfoil—Foil—
Card rules
When this creature enters, return target creature card from your graveyard to your hand. If that card is a Goblin card, this creature gains haste until end of turn.
3/3
"What do they need all this stuff for? They're dead. We're alive. Simple enough."
Common · Illustrated by Wayne Reynolds
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the card is an illegla target as the ability resolves, the ability won’t resolve and none of its effects will happen. Warren Pilferers won’t gain haste.