´It was narrated that Ibn ‘Abbas said:` “The Messenger of Allah (ﷺ) forbade performing prayer behind one who is engaged in conversation or one who is sleeping.”
Explanation & Benefits
Maulana Ataullah Sajid
Benefits and Issues:
➊
It has already been established from previous hadiths that it is permissible to pray behind a sleeping person.
From this hadith, the opposite appears to be understood.
Therefore, this prohibition will be interpreted as being for the sake of preference (tanzih).
That is, it is better to avoid it.
Especially when it affects the humility (khushu‘) and concentration in prayer.
➋
When there are people sitting in front, talking, attention is also diverted from the prayer; therefore, one should not pray in such a place.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 959