If either target creature leaves the battlefield before damage is dealt, that damage won’t be redirected. It doesn’t matter if Razia leaves the battlefield.

Artwork
Loading artwork…
Razia, Boros Archangel
GRN Guild Kit · #93 · EN
Nonfoil—Foil—
Card rules
Flying, vigilance, haste
: The next 3 damage that would be dealt to target creature you control this turn is dealt to another target creature instead.
6/3
Her sword burns with such brightness that foes avert their eyes and arrows divert their paths.
Rare · Illustrated by Donato Giancola
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH 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
Premodern 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
The 3 damage doesn’t have to be from the same source, and it doesn’t have to be all dealt at once. If only 2 damage is redirected, the next 1 damage will also be redirected.