( I ) HAVING ADDED SOMETHING (Az-Ziyaadah)
If the person praying deliberately adds an extra standing, sitting, bowing or prostration, then his prayer is nullified. If however, he does so due to forgetfulness and does not remember the addition until having completed it, then there is nothing due upon him except Sujoodus-Sahw, his prayer will be correct. If however, he remembers whilst performing that addition, then it is obligatory upon him to leave that addition and also to perform Sujoodus-Sahw (i.e., at the end of the prayer), and his prayer will be correct.
An example of this is a person who prayer the Zuhr prayer as five rak’ahs, but does not remember that he has added except whilst in the Tashahhud. So he should complete the Tashahhud, and make the salutations (salaam) and then prostrate for forgetfulness, and then give the salutation (again). If, however, he does not remember the addition except after the salutation, then he should perform prostration for forgetfulness and give the salutation (again).
The proof for this is the hadeeth of ‘Abdullaah ibn Mas’ood (radiallahu anhu) who said that, “The Prophet (sallallahu alaihe wa-sallam) prayed Zuhr with five rak’ahs, so someone said, ‘Has increase been made in the prayer?’ So he replied, ‘And why is that?’ They said, ‘You have prayed five (rak’ahs).’ So he performed two prostrations after having given the salutation” and in a narration (there occurs)“… so he turned his feet and faced the Qiblah, and performed two Prostrations, then he gave the Salutation.”
Reported by the whole group. 1
GIVING SALUTATIONS (Salaam) BEFORE COMPLETION OF THE PRAYER
Giving salutation before the completion of the Prayer is a case of addition in the Prayer. So whoever gives the salutation before the completion of the Prayer deliberately, then his prayer is nullified. If, however, it is done due to forgetfulness, and he does not remember this until after a long time then he should repeat his prayer again. If he remembers a short time later, such as after two or three minutes, then he should complete his prayer and salutation, and then prostrate for forgetfulness, and then give salutation (again).
The proof for this is the hadeeth of Aboo Hurairah (radiallahu anhu) who said that, “The Prophet (sallallahu alaihe wa-sallam) lead them in the Zuhr prayer or the ‘Asr prayer and gave the salutation after two rak’ah.s. Then he departed quickly from one of the doors of the mosque, and the people were saying that the prayer had been decreased. The Prophet sallallahu alaihe wa-sallam meanwhile, stood by a piece of wood placed in the mosque, leaning against it, as if he was angry. So a man stood and said, ‘0 Messenger of Allaah, have you forgotten or has the prayer been reduced?’ So the Prophet, (sallallahu alaihe wa-sallam) said, ‘I did not forget nor has it been reduced.’ So the man said, ‘Rather you have indeed forgotten.’ So the Prophet (sallallahu alaihe wa-sallam) said to the Companions, ‘Is what he is saying true. They said, ‘Yes.’ So the Prophet (sallallahu alaihe wa-sallam) went forward and prayed what remained of his prayer, then he gave the salutation, then he prostrated twice, then he gave the salutation.”
Agreed upon. 2
And if the Imaam gives the salutation before completion of his prayer and there are some followers who missed part of the prayer and who stand up to make up what they had missed, and then the Imaam remembers that there is something incomplete in his prayer that he has to make up for, so he stands to complete that - then in this case the followers who have already stood to complete what they missed have a choice between continuing to make up what they missed and then performing prostration for forgetfulness, and between returning to following the Imaam - and when he performs the salutation to complete what they had missed - and then to prostrate for forgetfulness after giving the salutation, and this is more right and is more prudent.
Footnotes
1 I.e., AI-Bukharee, Muslim and the four Sunan. Reported by al-Bukhaaree, (Eng. Trans. vol. 1, no. 394 & 398, vol. 2 no. 317, vol. 8 no.664, vol. 9, no. 355) Muslim, (Eng. trans. vol. 1 no. 1177) and Aboo Daawood, (Eng; Trans. vol. 1 nos. 1014-1017).
2 Reported by Al-Bukhaaree (Eng. Trans. vol. 2, nos. 318-321) and (Muslim Eng. Trans. vol. 1, nos. 1182-1186).