Question
Does prayer count if one prays in front of the imam or behind him in the mosque with a barrier between them, or not?
Answer
Praise be to Allah, Lord of the
worlds, and peace and blessings be upon the most noble of prophets and
messengers, our Prophet Muhammad, and upon all his family and companions.
This question touches upon two
important aspects of congregational prayer (salat al-jama’ah): first, the
ruling regarding the relative positioning of the imam and the members of the
congregation, and second, the effect of a barrier (sutrah) between them. These
matters have been thoroughly examined by the scholars, who have derived their
rulings from the practice of the Prophet (Sallallahu Alaihi Wasallam) and the
principles of the Shariah.
The Fundamental Principle: The
Imam Must Be in Front
The foundational principle of
congregational prayer is that the imam stands in front of the congregation.
This is not merely a matter of convention but a reflection of the imam’s role
as a leader and an example to be followed. The Prophet (Sallallahu Alaihi
Wasallam) consistently established this practice throughout his life, and he
instructed the Muslims to follow suit.
The wisdom behind this
arrangement is clear. In prayer, the imam leads, and the congregation follows
his movements—his bowing (ruku’), his prostration (sujud), and his rising. For
this following to be effective, the congregation must be able to see or at
least be aware of the imam’s actions. Placing the imam in front facilitates
this and maintains the order and unity of the congregation.
Abu Hurairah (Radhiyallahu Anhu)
narrated that the Prophet (Sallallahu Alaihi Wasallam) said:
الْحَدِيثُ: «إِنَّمَا جُعِلَ الْإِمَامُ لِيُؤْتَمَّ
بِهِ، فَلَا تَخْتَلِفُوا عَلَيْهِ»
Translation: “The imam is
appointed only to be followed, so do not differ from him.” (Sahih al-Bukhari,
732; Sahih Muslim, 414)
This hadith establishes the
principle that the imam is the one to be followed, and by implication, his
position is one of leadership, which requires him to be in front. The scholars
have drawn from this and other narrations that it is not permissible for any
member of the congregation to intentionally position himself ahead of the imam,
unless there is a valid excuse recognized by the Shariah.
The Ruling on Praying in Front
of the Imam
The majority of scholars,
including the Hanafis, Malikis, Shafi’is, and Hanbalis, are in agreement that
under normal circumstances, it is prohibited (haram) for a member of the
congregation to stand ahead of the imam. However, they differ regarding the validity
of the prayer of one who does so.
The Strongest View: Invalid
Without an Excuse
The view that is considered
strongest by many contemporary scholars, including Shaykh Muhammad ibn Salih
al-‘Uthaymin (Rahimahullah) and the Permanent Committee for Scholarly Research
and Ifta, is that the prayer of one who intentionally stands in front of the
imam without a valid excuse is invalid (batil) and must be repeated. This view
is based on several considerations:
1. Contradiction to the Sunnah:
The established practice of the Prophet (Sallallahu Alaihi Wasallam) was that
he always stood at the front, and his Companions stood behind him. There is no
authenticated report of any Companion deliberately praying ahead of the imam
without a necessity.
2. Violation of the Purpose of
Following: If a person stands ahead of the imam, he is no longer following the
imam in the true sense; rather, the imam would effectively be following him,
which contradicts the very purpose of congregational prayer.
3. Analogy with the Prohibition
of Preceding the Imam: The Prophet (Sallallahu Alaihi Wasallam) severely warned
against preceding the imam in the actions of prayer. He said:
الْحَدِيثُ: «أَمَا يَخْشَى أَحَدُكُمْ إِذَا
رَفَعَ رَأْسَهُ قَبْلَ الْإِمَامِ أَنْ يَجْعَلَ اللَّهُ رَأْسَهُ رَأْسَ حِمَارٍ،
أَوْ يَجْعَلَ صُورَتَهُ صُورَةَ حِمَارٍ»
Translation: “Does not one of you
fear that if he raises his head before the imam, Allah may turn his head into
the head of a donkey, or make his form like that of a donkey?” (Sahih
al-Bukhari, 691; Sahih Muslim, 427)
If preceding the imam in the
physical actions of prayer is so severely warned against, then standing
physically ahead of him in position is an even greater violation of the
principle that the imam is to be followed.
Shaykh Ibn ‘Uthaymin
(Rahimahullah) stated in Majmu’ Fatawa (13/44): “The correct view is that it is
obligatory for the imam to stand in front, and it is not permissible for a
member of the congregation to stand in front of the imam, because the imam is supposed
to be an example and his place is in front of the members of the congregation,
so it is not permissible for a person to pray in front of the imam. The Prophet
(Sallallahu Alaihi Wasallam) used to pray in front of the Sahabah (Radhiyallahu
Anhum), and based on that, the prayer of those who pray in front of the imam
does not count, and they have to repeat their prayer.”
The Effect of a Barrier
(Sutrah) Between the Worshipper and the Imam
The question also asks about
praying “behind him in the mosque with a barrier between them.” This introduces
an important nuance to the discussion. If a member of the congregation prays
behind the imam but there is a barrier such as a wall, a pillar, or a
significant distance that obstructs the direct line of sight or the sense of
direct following, does this affect the validity of the prayer?
The General Ruling: Following
Requires Connection
The scholars have discussed the
concept of “ittiṣāl” (connection) in congregational prayer. The majority view
is that for a person’s prayer to be valid as part of the congregation
(jama’ah), there must be a reasonable connection between him and the imam. This
connection is typically achieved by either:
• Being in
the same prayer hall with a clear line of sight or the ability to hear the
imam’s voice, or
• Being
connected by a continuous chain of worshippers, even if there is a barrier, as
long as the barrier does not completely sever the connection.
If a person prays behind the imam
but there is a barrier that completely separates them—such as a wall that
prevents hearing and seeing—and there is no other worshipper connecting them,
then some scholars hold that the person is not considered to be following the
imam in a valid congregational prayer. However, if the barrier is something
like a pillar or a column within the same prayer hall, and the person can still
hear the imam or see the movements of the congregation, then the prayer is
valid.
Imam An-Nawawi (Rahimahullah)
stated in Al-Majmu’ (4/272): “If there is a barrier between the one praying and
the imam, such as a wall, a river, or a road, and he cannot see the imam nor
hear him, then his prayer as a follower is not valid. But if he can see the
imam or hear him, even if there is a barrier, it is valid. This is the correct
view in the Shafi’i school.”
The Distinction: Praying
Behind with a Barrier vs. Praying in Front
There is a significant
distinction between praying behind the imam with a barrier and praying in front
of the imam. Praying behind with a barrier, as long as the connection is
maintained through sight or sound, is generally permissible, though it is preferable
to have an unobstructed view or proximity. Praying in front of the imam, by
contrast, violates the fundamental positioning and is not permissible without
an excuse.
If, however, the barrier is such
that the person is actually praying in front of the imam—for example, if the
barrier separates them but the person is positioned ahead of the imam in terms
of direction of prayer (qiblah)—then the ruling reverts to the prohibition of
standing ahead, and the prayer would be invalid unless there is a necessity.
Exceptional Cases: When
Standing Ahead Is Permitted
While the general rule is that
standing ahead of the imam is prohibited, the scholars have recognized
exceptions in cases of necessity or valid excuse. These exceptions reflect the
mercy of the Shariah and its consideration of practical realities.
1. Crowded Mosques and Lack of
Space
One of the most common exceptions
is when the mosque is overcrowded and there is insufficient space for all
worshippers to stand behind the imam. In such situations, it becomes
permissible for worshippers to stand to the right, to the left, and even ahead
of the imam out of necessity.
Shaykh Ibn ‘Uthaymin
(Rahimahullah) continued in the same fatwa: “But some scholars made an
exception in cases of necessity, such as if the mosque is small and there is
not enough room for everyone; in that case they may pray to the right and the
left of the imam, and in front of him and behind him, because of necessity.”
This ruling is based on the
principle that necessity (darurah) permits what would otherwise be prohibited.
The objective of congregational prayer—gathering together for the worship of
Allah—takes precedence over the ideal arrangement when the ideal is impossible
to achieve. In such cases, the prayer of those who stand ahead of the imam due
to overcrowding is valid, and they are considered to have prayed in
congregation.
2. Praying in the Sacred Mosque
(Masjid al-Haram)
In the Grand Mosque in Makkah,
due to its unique layout and the immense crowds, the normal rules regarding
positioning are relaxed. Worshippers often pray in all directions around the
Ka’bah, and many may find themselves in positions that are technically ahead of
the imam. The scholars have ruled that in this specific context, due to the
nature of the mosque and the necessity of accommodating the vast numbers, such
prayers are valid.
3. When the Imam is Positioned in
the Middle
Some scholars have noted that if
the imam prays in a location that is not at the very front, such as in a room
where worshippers surround him on all sides, the ruling may be more lenient.
However, the preferred practice remains that the imam should position himself
at the front to avoid ambiguity.
Praying Behind the Imam with a
Barrier: Practical Guidance
For the average Muslim praying in
a typical mosque, the following practical guidelines can be offered:
1. Always Strive to Be Behind the
Imam: Whenever possible, position yourself behind the imam or to his side in a
way that you are not ahead of him. This is the Sunnah and the practice of the
Companions.
2. If a Barrier Exists Behind the
Imam: If there is a pillar, a column, or a wall between you and the imam, but
you are still behind him and you can hear his voice or see the movements of
those around you, your prayer as a follower is valid.
3. If the Mosque Is Overcrowded:
If you arrive late and the only available space is ahead of the imam, and there
is genuine necessity (such as the mosque being completely full), then you may
pray there. Your prayer is valid by the permission of Allah, due to the
necessity.
4. Intentional Disregard: If a
person intentionally stands ahead of the imam without any necessity,
deliberately violating the established Sunnah, then according to the stronger
view, his prayer is not valid, and he must repeat it.
Conclusion
After reviewing the evidence and
the scholarly opinions, the following conclusions can be drawn:
1. The basic principle is that
the imam must stand in front, and members of the congregation should stand
behind him. This is the Sunnah and the practice of the Prophet (Sallallahu
Alaihi Wasallam) and his Companions.
2. Praying in front of the imam
without a valid excuse is prohibited, and according to the stronger scholarly
view, the prayer of one who does so is invalid and must be repeated.
3. A barrier (sutrah) between the
worshipper and the imam does not invalidate the congregational prayer as long
as the worshipper is behind the imam and maintains a connection through sight
or sound, and as long as the barrier does not completely sever the sense of
following.
4. Exceptions are made in cases
of necessity, such as overcrowding in the mosque, where worshippers may pray in
front of the imam, to the sides, or in any available space. In such situations,
the prayer is valid.
Allah (Subhanahu Wa Ta’ala) says
in the Qur’an:
الآيَةُ: ﴿وَأَقِيمُوا الصَّلَاةَ وَآتُوا الزَّكَاةَ
وَارْكَعُوا مَعَ الرَّاكِعِينَ﴾
Translation: “And establish
prayer and give zakah, and bow with those who bow [in worship and obedience].”
(Surat Al-Baqarah, 2:43)
The command to “bow with those
who bow” emphasizes the importance of unity and following the imam in
congregational prayer. The rulings regarding positioning are designed to
preserve this unity and ensure that the prayer is performed in the manner that
most closely follows the example of the Prophet (Sallallahu Alaihi Wasallam).
We ask Allah to accept our
prayers and to grant us the ability to follow the Sunnah of His Prophet
(Sallallahu Alaihi Wasallam) in all our affairs.
Wallahu A’alam (Allah knows
best).

0 Comments