When the prayer becomes invalid and for whom it is waived
➊ It is narrated from Zayd ibn Arqam (may Allah be pleased with him) that:
إن كنا لنتكلم فى الصلاة على عهد رسول الله صلى الله عليه وسلم
“We used to speak to one another during the prayer in the time of the Messenger ﷺ.”
And we would tell one another our needs, until the verse: حَافِظُوا عَلَى الصَّلَوَاتِ وَالصَّلَاةِ الْوُسْطَى وَقُومُوا لِلَّهِ قَانِتِينَ was revealed, and then فأمرنا بالسكوت ونهينا عن الكلام “We were commanded to be silent and were forbidden from speaking.”
➋ It is narrated from Ibn Mas’ud (may Allah be pleased with him) that we greeted the Messenger of Allah ﷺ with salam while he was praying, and he did not reply. (Although he used to reply before.) And (later) he said: ان فى الصلاة لشغلا “Indeed, there is preoccupation in the prayer.”
➌ In one narration the words are: إذا كنتم فى الصلاة فاقتنوا ولا تكلموا “When you are in prayer, be obedient and do not speak.”
➍ In Sunan Abi Dawud a narration is reported with these words:
ان الله قد أحدث ألا تكلموا فى الصلاة
“Indeed, Allah has newly decreed that you do not speak during the prayer.”
All these evidences are clear proof of the prohibition of speaking during the prayer, and it is an accepted principle that:
النهي يقتضى فساد المنهي عنه
“A prohibition requires the invalidity of what is prohibited.” This rule is agreed upon, especially in acts of worship.
(Ibn Hajar, Shawkani – may Allah have mercy on them) The scholars are agreed that whoever deliberately speaks during the prayer, and does not intend to correct the prayer, his prayer is undoubtedly invalid.
(Allamah al-‘Ayni, Ibn al-Mundhir – may Allah have mercy on them) hold this view.
◈ The scholars differed regarding the ruling on speaking in the prayer out of forgetfulness or out of ignorance.
(Abu Hanifah – may Allah have mercy on him) Speech, whether deliberate, out of forgetfulness, or out of ignorance, invalidates the prayer.
Imam al-Thawri, Imam Ibn al-Mubarak, Imam Hammad ibn Abi Sulayman, Imam al-Nakha’i and others (may Allah have mercy on them) also hold this position.
(The majority, Ahmad, Shafi’i, Malik – may Allah have mercy on them) Speech out of forgetfulness or ignorance does not invalidate the prayer.
Imam Ibn al-Mundhir (may Allah have mercy on him) has also reported this view from Ibn Mas’ud (may Allah be pleased with him), Ibn al-Zubayr (may Allah be pleased with him), ‘Urwah (may Allah be pleased with him), Imam ‘Ata’, Imam al-Hasan, Imam Qatadah and others (may Allah have mercy on them).
(The preponderant view) The position of the majority is the preponderant one.
(Ibn Hazm – may Allah have mercy on him) Speech out of forgetfulness or ignorance only makes the prostration of forgetfulness obligatory, while the prayer is complete.
(Shawkani – may Allah have mercy on him) Speech out of forgetfulness, and whatever falls under the ruling of forgetfulness, does not invalidate the prayer.
The evidences for this position are as follows:
➊ In the hadith of Dhu al-Yadayn narrated from Abu Hurayrah (may Allah be pleased with him), the Prophet ﷺ forgetfully led the prayer with only two rak’ahs; then, when Dhu al-Yadayn reminded him, the Prophet ﷺ asked the Companions: أصدق ذو اليدين؟ “Is Dhu al-Yadayn telling the truth?” After that the Prophet ﷺ performed the remaining two rak’ahs and at the end performed the prostrations of forgetfulness.
This proves that speaking out of forgetfulness does not invalidate the prayer, because if it did, the Prophet ﷺ would have repeated the four rak’ahs.
➋ There is a hadith of the Prophet ﷺ that:
ان الله تجاوز عن أمتى الخطأ والنسيان ……
“Allah has pardoned for my Ummah sins committed by mistake or out of forgetfulness.”
➌ It is narrated from Mu’awiyah ibn al-Hakam al-Sulami (may Allah be pleased with him) that once I was praying with the Messenger of Allah ﷺ when a man sneezed, so I said (during the prayer itself): يرحمك الله At this the people began to stare at me. I said, “Alas! May my mother lose me! What is the matter? Why are you looking at me (angrily)?” At that they began to strike their hands on their thighs. When I realised that they wanted to silence me (I was angry), but I became silent. When the Messenger of Allah ﷺ finished the prayer, may my father and mother be sacrificed for him, I never saw, neither before him nor after him, a teacher better in teaching than him. By Allah, he neither scolded me, nor struck me, nor spoke harshly to me, but rather he ﷺ said:
إن هذه الصلاة لا يصلح فيها شيئ من كلام الناس إنما هو التسبيح والتكبير و قراءة القرآن “Indeed, there is no room in this prayer for any of the speech of people. It is only tasbih, takbir and the recitation of the Qur’an.”
This hadith also clearly shows that if speech occurs in the prayer because of ignorance, the prayer is not invalidated; had it been so, the Prophet ﷺ would have commanded that man to pray again. Yet he ﷺ did nothing of the sort, but rather was content with informing him of this ruling.
◈ Speech for the purpose of correcting the prayer invalidates the prayer according to the four Imams, but Imam al-Awza’i (may Allah have mercy on him) and some of the Malikis have declared it permissible.
The prayer is invalidated by being occupied with unrelated activity
What is meant is that a person begins an action that is not part of the prayer, such that at that moment he can no longer be called someone who is praying, for example lying down and going to sleep, starting to run, beginning to sew clothes, looking at something for a long time, lifting a load, or eating and drinking, and so on. Certainly no one would count such a person as praying.
The scholars and mujtahids have differed greatly regarding such abundant action that invalidates the prayer.
Imam al-Shawkani (may Allah have mercy on him) writes that the truth is that, once the prayer has been commenced, it is not invalidated, unless one commits an invalidating act which the Shari’ah has declared to be an invalidator, for example the breaking of wudu’, deliberately speaking to people, or deliberately omitting one of the established pillars of the prayer, and so on.