You only check if he has no Auras when activating the ability. You can use the ability multiple times in response to each other to get multiple Auras on him this way.

Artwork
Loading artwork…
Hakim, Loreweaver
Mirage · #68 · EN
Nonfoil—Foil—
Card rules
Flying

: Return target Aura card from your graveyard to the battlefield attached to Hakim. Activate only during your upkeep and only if Hakim isn't enchanted.

,
: Destroy all Auras attached to Hakim.
2/4
Rare · Illustrated by Alan Rabinowitz
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
PreDH Legal
Premodern 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
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If you pick an Aura that can't legally enchant this card, then the Aura stays in the graveyard.