If your graveyard and library combined contain fewer than five cards, all of those cards will wind up in your library.

Artwork
Loading artwork…
Doomsday
Marvel Super Heroes Commander · #796 · EN
Nonfoil—Foil—
Card rules
Search your library and graveyard for five cards and exile the rest. Put the chosen cards on top of your library in any order. You lose half your life, rounded up.
"Before this day is ended, all shall grovel helplessly at my feet!"
Rare · Illustrated by David Palumbo
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
PreDH Legal
Premodern Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Modern Not Legal
Oathbreaker Banned
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If your graveyard and library combined contain five or more cards, you must choose five cards from among them. You can't choose to find fewer than that.