Hadithcore
Sahih al-Bukhari, 510
sahih

Narrated Busr bin Sa`id:

that Zaid bin Khalid sent him to Abi Juhaim to ask him what he had heard from Allah's Messenger (ﷺ) about a person passing in front of another person who was praying. Abu Juhaim replied, "Allah's Messenger (ﷺ) said, 'If the person who passes in front of another person in prayer knew the magnitude of his sin he would prefer to wait for 40 (days, months or years) rather than to pass in front of him." Abu An-Nadr said, "I do not remember exactly whether he said 40 days, months or years."

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، قَالَ أَخْبَرَنَا مَالِكٌ، عَنْ أَبِي النَّضْرِ، مَوْلَى عُمَرَ بْنِ عُبَيْدِ اللَّهِ عَنْ بُسْرِ بْنِ سَعِيدٍ، أَنَّ زَيْدَ بْنَ خَالِدٍ، أَرْسَلَهُ إِلَى أَبِي جُهَيْمٍ يَسْأَلُهُ مَاذَا سَمِعَ مِنْ، رَسُولِ اللَّهِ صلى الله عليه وسلم فِي الْمَارِّ بَيْنَ يَدَىِ الْمُصَلِّي فَقَالَ أَبُو جُهَيْمٍ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏

‏ لَوْ يَعْلَمُ الْمَارُّ بَيْنَ يَدَىِ الْمُصَلِّي مَاذَا عَلَيْهِ لَكَانَ أَنْ يَقِفَ أَرْبَعِينَ خَيْرًا لَهُ مِنْ أَنْ يَمُرَّ بَيْنَ يَدَيْهِ ‏

‏‏.‏ قَالَ أَبُو النَّضْرِ لاَ أَدْرِي أَقَالَ أَرْبَعِينَ يَوْمًا أَوْ شَهْرًا أَوْ سَنَةً‏.‏

References2 variants
In-Book Reference
Book 8, Hadith 157
USC-MSA web (English) reference
Vol. 1, Book 9, Hadith 489 (deprecated numbering scheme)
Sharh · explanationclick to expand
34-TRIAL-Prayer is a connection between a person and his Lord, in which the worshipper stands and converses with his Lord, facing towards Him. Islam enjoins focusing with proper humility (khushu‘) in prayer, and not being distracted, and sets out guidelines concerning that for both the worshipper and the one who is not praying, so that the prayer will not be interrupted and the humble focus (khushu‘) will not be disrupted by the action of either of them. In this hadith, the Tabi‘i Busr ibn Sa‘id narrates that Zayd ibn Khalid al-Juhani (may Allah be pleased with him) sent him to Abu Juhaym (may Allah be pleased with him) to ask him about the hadith of the Prophet (blessings and peace of Allah be upon him) concerning the one who passes directly in front of one who is praying. Abu Juhaym stated that he heard the Messenger of Allah (blessings and peace of Allah be upon him) warning about the seriousness of passing in front of one who is praying, and that if the one who has the audacity to deliberately walk in front of one who is praying knew about what results from that of severe punishment, he would choose to wait for forty, for that would be better for him than passing directly in front of the worshipper. Abu’n-Nadr Salim ibn Abi Umayyah, the one who narrated the hadith from Busr, said: I do not know whether he said forty days, or months, or years. According to a report narrated by Ibn Majah: I do not know whether it is forty years or months or days or hours. According to a report narrated by al-Bazzar: Forty years. All of these imply a great amount of sin if one passes directly in front of one who is praying, and that it is more appropriate and preferable to wait until he finishes his prayer, and then pass in front of him, or look for another way. This hadith contains an emphatic prohibition and stern warning against passing directly in front of one who is praying, and indicates that it is a major sin, because of this warning of what results from that. It is also refers to the command to have a sutrah or barrier in front of the worshipper, to prevent people from passing directly in front of him. 100.
Related hadiths5
Compare isnād across 5 related chains →