Abu Musa Ashari reported,

The Prophet ﷺ said, "The people who receive the greatest reward for prayer are those who walk the farthest to reach it, and the one who waits to pray with the imam has a greater reward than the one who prays and then goes to sleep."

Bukhari 651

Sahih

حدثنا محمد بن العلاء قال حدثنا أبو أسامة عن بريد بن عبد الله عن أبي بردة

عن أبي موسى قال

قال النبي ﷺ أعظم الناس أجرا في الصلاة أبعدهم فأبعدهم ممشى والذي ينتظر الصلاة حتى يصليها مع الإمام أعظم أجرا من الذي يصلي ثم ينام

البخاري 651صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhan
Chapter
Virtue of praying Fajr in congregation
Numbering
Darussalam 651
Bukhari 651