«إذا قام الإمام في الركعتين فإن ذكر قبل أن يستوي قائما فليجلس فإن استوى قائما فلا يجلس ويسجد سجدتي السهو»
The Prophet (peace and blessings be upon him) said:
"When the imam, after praying two rak'ahs, begins to stand up (forgetfully, instead of sitting), then if he remembers before standing fully upright, he should sit down; and if he has stood fully upright, he should not sit down, and he should perform the two prostrations of forgetfulness (sajdah al-sahw) (at the end of the prayer)."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 721
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[حم د هـ هق] عن المغيرة. صحيح أبي داود ٩٤٩: ابن ماجه، والطحاوي، قط.