If Riders of the Mark leaves the battlefield before its triggered ability resolves, you can't return it to its owner's hand from its new zone.

Artwork
Loading artwork…
Riders of the Mark
The Lord of the Rings: Tales of Middle-earth · #827 · EN
Nonfoil—Foil—
Card rules
Affinity for Humans (This spell costs 1 less to cast for each Human you control.)
Trample, haste
At the beginning of your end step, if this creature attacked this turn, return it to its owner's hand. If you do, create a number of 1/1 white Human Soldier creature tokens equal to its toughness.
7/4
Rare · Illustrated by Antonio José Manzanedo
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future 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
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You won't create tokens if Riders of the Mark is returned to your hand by an effect other than its own triggered ability.
Use Riders of the Mark's toughness as it last existed on the battlefield to determine how many 1/1 white Human Soldier creature tokens to create.