Detailed Statement of the Question
If, in the Zuhr prayer, the imam forgetfully leads five rak’ahs, and the followers know that this is the fifth rak’ah but do not say “Subhan Allah”, and the imam ends the prayer with the salam after the fifth rak’ah, then one of the followers tells the imam that he has led five rak’ahs, and the imam performs the prostration of forgetfulness (sujud al-sahw), then:
◈ After performing the prostration of forgetfulness, the imam says to the followers:
◈ Whoever knew that the fifth rak’ah was being prayed and did not say “Subhan Allah”, his prayer has become invalid; he must pray it again.
◈ Whoever spoke after the prayer, before the prostration of forgetfulness, his prayer is also invalid; he too must repeat the prayer.
◈ The imam’s evidence is that:
◈ Whoever knew that the fifth rak’ah was being prayed and said nothing, it is as though he deliberately had five rak’ahs prayed, so he is at fault.
◈ Whoever spoke with his tongue after the prayer is at fault because the Prophet ﷺ said:
“اَلتَّسْبِيْحُ لِلرِّجَالِ وَالتَّصْفِيْقُ لِلنِّسَائِ”
Therefore the man should have said “Subhan Allah”, even if it was after the prayer. Because he spoke with his tongue, his prayer became invalid.
The questioner says that:
◈ The imam is saying that these two must pray the prayer again.
◈ But the questioner’s opinion is that there is no need to repeat the prayer, because in the time of the Prophet ﷺ too, five rak’ahs of Zuhr were once prayed, and only the prostration of forgetfulness was performed; the prayer was not prayed again.
Answer
الحمد لله، والصلاة والسلام علىٰ رسول الله، أما بعد!
Your position is absolutely correct, because it is established by the hadith in Sahih al-Bukhari and Sahih Muslim. On one occasion the Prophet ﷺ prayed five rak’ahs in the Zuhr prayer, and the Companions (may Allah be pleased with them) said after the prayer that he had prayed five rak’ahs. Thereupon the Messenger of Allah ﷺ performed the prostration of forgetfulness, but did not command anyone to pray the prayer again.
Therefore:
◈ The one who remained silent during the prayer, his prayer is valid, because he did not deliberately commit any mistake.
◈ The one who spoke after the prayer, his prayer also did not become invalid, because he was speaking after the prayer had ended, and such an incident also occurred in the time of the Prophet ﷺ, yet no command to repeat the prayer was given.
“ھذا ما عندي والله أعلم بالصواب”