«إذا جئتم الصلاة ونحن سجودا فاسجدوا ولا تعدوها شيئا ومن أدرك الركعة فقد أدرك الصلاة»
The Prophet (peace and blessings be upon him) said:
"When you come to the prayer while we are in prostration, then prostrate too, but do not count it as anything (i.e. as a rak'ah); and whoever catches the rak'ah has caught the prayer."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 468
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[د ك هق] عن أبي هريرة. صحيح أبي داود: ٨٣٢، الإرواء ٤٩٦، الصحيحة ١١٨٨: المروزي في المسائل.