Petrahydrox's ability triggers only if it's on the battlefield when it becomes the target of a spell or ability.

Artwork
Loading artwork…
Petrahydrox
Ravnica Remastered · #209 · EN
Nonfoil—Foil—
Card rules
(
can be paid with either
or
.)
When this creature becomes the target of a spell or ability, return this creature to its owner's hand.
3/3
It departs through the streets' fissures with a sound like gravel pouring into a pond.
Common · Illustrated by Anthony S. Waters
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
Petrahydrox's ability resolves before the spell or ability that caused it to trigger. It resolves even if that spell or ability is countered.
If the spell or ability that targets Petrahydrox has no other targets, it won't resolve (because it no longer has a legal target after Petrahydrox has returned to its owner's hand).