Vizier of Deferment’s triggered ability can target any creature, but it will affect a creature only if that creature was declared as an attacker or blocker this turn, whether you cast Vizier of Deferment during combat or later in the turn. Notably, the ability won’t affect a creature that entered the battlefield attacking or blocking.

Artwork
Loading artwork…
Vizier of Deferment
Amonkhet · #37 · EN
Nonfoil—Foil—
Card rules
Flash
When this creature enters, you may exile target creature if it attacked or blocked this turn. Return that card to the battlefield under its owner's control at the beginning of the next end step.
2/2
Uncommon · Illustrated by Deruchenko Alexander
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker 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
Penny 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
After the target creature returns to the battlefield, it will be a new object with no connection to the creature that was exiled. It won’t be in combat or have any additional abilities it may have had when it was exiled. Any counters on it or Auras attached to it are removed, and any Equipment will no longer be attached.
A token creature exiled this way won’t return to the battlefield.