أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ، أَخْبَرَنِي مُحَمَّدُ بْنُ أَحْمَدَ بْنِ بَالَوَيْهِ، ثنا مُحَمَّدُ بْنُ غَالِبٍ، حَدَّثَنِي عَمْرُو بْنُ مَرْزُوقٍ، أنبأ شُعْبَةُ، عَنْ عَبْدِ الْعَزِيزِ بْنِ رُفَيْعٍ، عَنْ رَجُلٍ، عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: " إِذَا جِئْتُمْ وَالْإِمَامُ رَاكِعٌ فَارْكَعُوا، وَإِنْ كَانَ سَاجِدًا فَاسْجُدُوا، وَلَا تَعْتَدُّوا بِالسُّجُودِ إِذَا لَمْ يَكُنْ مَعَهُ الرُّكُوعُ ".
It is narrated from a man, from the Prophet (peace and blessings be upon him), that he (peace and blessings be upon him) said: "When you come and the imam is bowing, then join in; and if he is in prostration, then (join) too; but if you did not bow with him, do not count the prostration."