Once you've announced that you're casting a spell, players can't take actions until you've finished doing so. Notably, opponents can't try to remove cards from your graveyard to stop you from collecting evidence.

Artwork
Loading artwork…
Lamplight Phoenix
Murders at Karlov Manor · #137 · EN
Nonfoil—Foil—
Card rules
Flying
When this creature dies, you may exile it and collect evidence 4. If you do, return this card to the battlefield tapped. (To collect evidence 4, exile cards with total mana value 4 or greater from your graveyard.)
3/3
The only warning was the faint smell of burning plasma.
Rare · Illustrated by Ryan Pancoast
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
Standard Legal
Standard Brawl 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
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You can't exile Lamplight Phoenix from your graveyard to pay the collect evidence cost of its triggered ability.
If you can't exile enough cards to meet or exceed the required mana value, you can't choose to collect evidence at all.