Hadithcore
Riyad as-Salihin, 1758

Abul-Juhaim 'Abdullah bin Al-Harith (May Allah be pleased with him) said:

The Messenger of Allah (ﷺ) said, "If the person who passes in front of a praying person, realizes the enormity of the sinfulness of this act, it will have been better for him to wait forty than to pass in front of him." <b>[Al-Bukhari and Muslim]</b>. <b>[The narrator was not sure whether the Prophet (ﷺ) said forty days, months or years.]</b>

عن أبي الجهيم عبد الله بن الحارث بن الصمة الأنصاري رضي الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ ‏

‏لو يعلم المار بين المصلي ماذا عليه لكان أن يقف أربعين خيرًا له من أن يمر بين يديه‏

‏ ‏(‏‏(‏قال الراوي‏:‏ لا أدري قال أربعين يومًا، أو أربعين شهرًا، أو أربعين سنة‏)‏‏)‏‏.‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Book 17, Hadith 248
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) It is prohibited to pass in front of a praying person, whether the prayer is obligatory or supererogatory, whether he is praying in the mosque or elsewhere, and whether he is in Makkah or any other city.<br> 2) Passing in front of a praying person is prohibited because it disrupts his focus and sense of devotion towards his Lord, and because he is entitled to the area between him and the Sutrah (screen), and so it is not permissible for anyone to encroach upon it.
Related hadiths6
Compare isnād across 6 related chains →