وَعَنْ أَبِي مُوسَى قَالَ : قَالَ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - : « إِنَّ أَعْظَمَ النَّاسِ أَجْرًا فِي الصَّلَاةِ أَبْعَدُهُمْ إِلَيْهِ مَمْشًى فَأَبْعَدُهُمْ ، وَالَّذِي يَنْتَظِرُ الصَّلَاةَ حَتَّى يُصَلِّيَهَا مَعَ الْإِمَامِ فِي جَمَاعَةٍ ، أَعْظَمُ أَجْرًا مِنَ الَّذِي يُصَلِّيهَا ثُمَّ يَنَامُ » .
It is narrated from Sayyiduna Abu Musa (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed, the greatest of people in reward for prayer is the one who walks the farthest distance (to the mosque), then the one who comes from the next farthest; and the one who waits for the prayer until he prays it with the imam in congregation has a far greater reward than the one who prays it (alone, early) and then sleeps."