كتاب الصلاة
4  
Prayer
(29b)
Chapter: The manner in which one who is led in prayer by an Imam must follow him, and the rule applying to the one who is preceded by him - Section 2
(28)
باب ما على المأموم من المتابعة وحكم المسبوق - الفصل الثاني
Mishkat al-Masabih 1143
Abu Huraira reported God’s Messenger as saying, “When you come to the prayer and we are prostrating ourselves you must prostrate yourselves without reckoning it as part of your prayer; and if anyone is present at a rak'a he has been present at the prayer.” Abu Dawud transmitted it.
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا جِئْتُمْ إِلَى الصَّلَاةِ وَنَحْنُ سُجُودٌ فَاسْجُدُوا وَلَا تَعُدُّوهُ شَيْئًا وَمَنْ أَدْرَكَ رَكْعَةً فقد أدْرك الصَّلَاة» . رَوَاهُ أَبُو دَاوُد
  ضَعِيفٌ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 1143
In-book reference : Book 4, Hadith 560