You can't cast an instant (or activate an ability as an instant) while casting a spell. Therefore, much like Lion's Eye Diamond, you can't activate the ability intending to use the mana to cast a spell from your hand.

Artwork
Loading artwork…
Diamond Lion
Modern Horizons 2 · #225 · EN
Nonfoil—Foil—
Card rules
2/2
"The merchant asked for riches no one had ever dreamed of. The djinn, smiling, granted his wish." —Afari, *Tales*
Rare · Illustrated by Howard Lyon
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Even though you can only activate this as an instant, it is still a mana ability. It doesn't use the stack and cannot be responded to.