ANSWER:
How would ghusl get invalid on the way to the masjid?! Most likely you mean whudhu! This has nothing to do with the reward.
ANSWER:
How would ghusl get invalid on the way to the masjid?! Most likely you mean whudhu! This has nothing to do with the reward.