Sahih al-Bukhari 651
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَعْظَمُ النَّاسِ أَجْرًا فِي الصَّلاَةِ أَبْعَدُهُمْ فَأَبْعَدُهُمْ مَمْشًى، وَالَّذِي يَنْتَظِرُ الصَّلاَةَ حَتَّى يُصَلِّيَهَا مَعَ الإِمَامِ أَعْظَمُ أَجْرًا مِنَ الَّذِي يُصَلِّي ثُمَّ يَنَامُ "
Narrated Abu Musa:
The Prophet (ﷺ) said, "The people who get tremendous reward for the prayer are those who are farthest away (from the mosque) and then those who are next farthest and so on. Similarly one who waits to pray with the Imam has greater reward than one who prays and goes to bed. "
Full reference and source
Sahih al-Bukhari 651 In-book : Book 10, Hadith 48 USC-MSA web (English) : Vol. 1, Book 11, Hadith 623 (deprecated)
View source on Sunnah.com (opens in a new tab)