The second ability of Dovin’s Acuity resolves before the spell that caused it to trigger. It resolves even if that spell is countered.

Artwork
Loading artwork…
Dovin's Acuity
Ravnica Allegiance · #168 · EN
Nonfoil—Foil—
Card rules
When this enchantment enters, you gain 2 life and draw a card.
Whenever you cast an instant spell during your main phase, you may return this enchantment to its owner's hand.
Dovin ticked the Planeswalkers off on his fingers: himself, Domri, Kaya, Ral, Vraska . . . and Bolas made an even six.
Uncommon · Illustrated by Bastien L. Deharme
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The second ability of Dovin’s Acuity triggers only if it’s on the battlefield. It won’t return from your graveyard.