You must follow all normal timing rules when casting a spell with mayhem. For example, you can't cast a creature card with mayhem you couldn't normally cast during an opponent's turn, even if you discard that card during an opponent's turn.

Artwork
Loading artwork…
Swarm, Being of Bees
Marvel Super Heroes Commander · #799 · EN
Nonfoil—Foil—
Card rules
Flash
Flying
Mayhem
(You may cast this card from your graveyard for
if you discarded it this turn. Timing rules still apply.)
2/2
"Evil never dies. It just becomes bees." —Swarm, Fritz von Meyer
Common · Illustrated by Alex Horley-Orlandelli
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Mayhem represents an alternative cost that can be paid to cast a spell from your graveyard if you discarded the card with mayhem that turn. You must pay any additional costs the spell has.