It can be used on non-combat damage which happens to come from creatures with the Shadow ability.

Artwork
Loading artwork…
Circle of Protection: Shadow
Tempest · #12 · EN
Nonfoil—Foil—
Card rules
1: The next time a creature of your choice with shadow would deal damage to you this turn, prevent that damage.
Common · Illustrated by Harold McNeill
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions