Sunan Abi Dawud 893
سنن أبي داود#893Hasanحَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى بْنِ فَارِسٍ، أَنَّ سَعِيدَ بْنَ الْحَكَمِ، حَدَّثَهُمْ أَخْبَرَنَا نَافِعُ بْنُ يَزِيدَ، حَدَّثَنِي يَحْيَى بْنُ أَبِي سُلَيْمَانَ، عَنْ زَيْدِ بْنِ أَبِي الْعَتَّابِ، وَابْنِ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِذَا جِئْتُمْ إِلَى الصَّلاَةِ وَنَحْنُ سُجُودٌ فَاسْجُدُوا وَلاَ تَعُدُّوهَا شَيْئًا وَمَنْ أَدْرَكَ الرَّكْعَةَ فَقَدْ أَدْرَكَ الصَّلاَةَ " .
Abu Hurairah reported the Messenger of Allah (ﷺ) as saying; when you come to pray while we are prostrating ourselves, you must prostrate yourselves, and do not reckon it anything (rak’ah) he has been present at the prayer
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
In-book reference: 2:503