Abu Musa (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "The person who will receive the highest reward for Salat (prayer) is the one who comes to perform it in the mosque from the farthest distance. And he who waits for Salat to perform it with the Imam (in congregation) will have a greater reward than the one who observes it alone and then goes to sleep."[Al-Bukhari and Muslim].
App reference: Book 9, Hadith 67
Arabic/English book reference: Book 9, Hadith 1057