Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever performs ablution in the best manner, then sets out but finds that the people had already prayed, then Allah Almighty will give him the reward of its prayer and its attendance without detracting from their reward at all.”
Source: Sunan Abī Dāwūd 564
Grade: Hasan (fair) according to Al-Arna’ut
عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ مَنْ تَوَضَّأَ فَأَحْسَنَ وُضُوءَهُ ثُمَّ رَاحَ فَوَجَدَ النَّاسَ قَدْ صَلَّوْا أَعْطَاهُ اللَّهُ جَلَّ وَعَزَّ مِثْلَ أَجْرِ مَنْ صَلَّاهَا وَحَضَرَهَا لَا يَنْقُصُ ذَلِكَ مِنْ أَجْرِهِمْ شَيْئًا
564 سنن أبي داود كتاب الصلاة باب فيمن خرج يريد الصلاة فسبق بها
1/423 المحدث شعيب الأرناؤوط خلاصة حكم المحدث إسناده حسن في تخريج سنن أبي داود