Hadithcore
Sunan Ibn Majah, 944
sahih· Darussalam

Busr bin Sa’eed said:

“They sent me to Zaid bin Khalid to ask him about passing in front of one who is performing prayer. He told me that the Prophet (ﷺ) said: ‘Waiting for forty is better than passing in front of one who is performing prayer.’” (One of the narrators) Sufyan said: "I do not know if he meant forty years, months, days, or hours."

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

‏ لأَنْ يَقُومَ أَرْبَعِينَ خَيْرٌ لَهُ مِنْ أَنْ يَمُرَّ بَيْنَ يَدَيْهِ ‏

‏ ‏.‏ قَالَ سُفْيَانُ فَلاَ أَدْرِي أَرْبَعِينَ سَنَةً أَوْ شَهْرًا أَوْ صَبَاحًا أَوْ سَاعَةً ‏.‏

References2 variants
In-Book Reference
Book 5, Hadith 142
English Reference
Vol. 1, Book 5, Hadith 944