If the land this Aura would enchant is an illegal target by the time New Horizons resolves, the entire spell doesn't resolve. It won't enter the battlefield, so its ability won't trigger.

Artwork
Loading artwork…
New Horizons
Foundations · #557 · EN
Nonfoil—Foil—
Card rules
Enchant land
When this Aura enters, put a +1/+1 counter on target creature you control.
Enchanted land has "
: Add two mana of any one color."
Common · Illustrated by Eytan Zana
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You can cast New Horizons even if you control no creatures.