Sunan an-Nasa'i, Book 10, Hadith 79 (Nasa'i 857)

It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:

"Whoever performs wudu' and does it well, then sets out for the Masjid and finds that the people have already prayed, Allah will decree for him a reward like that of those who attended (the prayer), without reducing the slightest from their reward."