Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:3455[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq > Ismāʿīl b. Qutaybah > Yaḥyá b. Yaḥyá > Abū al-Aḥwaṣ [Chain 2] Abū Saʿd al-Zāhid Imlāʾ And ʾAbū Ṣāliḥ > Abū Muḥammad Yaḥyá b. Manṣūr al-Qāḍī > Aḥmad b. Salamah

[Machine] "On the authority of the Messenger of Allah ﷺ, he said: 'If one of you places something equal to the height of the saddle in front of him, it does not harm him who passes behind it.' And in the narration of Abu Abdullah, 'Let him pray and not be concerned about whoever passes behind it.'"  

البيهقي:٣٤٥٥وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو بَكْرِ بْنُ إِسْحَاقَ أنبأ إِسْمَاعِيلُ بْنُ قُتَيْبَةَ ثنا يَحْيَى بْنُ يَحْيَى أنبأ أَبُو الْأَحْوَصِ (ح) وَحَدَّثَنَا أَبُو سَعْدٍ الزَّاهِدُ إِمْلَاءً وَأَبُو صَالِحٍ قَالَا أنبأ أَبُو مُحَمَّدٍ يَحْيَى بْنُ مَنْصُورٍ الْقَاضِي ثنا أَحْمَدُ بْنُ سَلَمَةَ قَالَ ثنا قُتَيْبَةُ بْنُ سَعِيدٍ الثَّقَفِيُّ ثنا أَبُو الْأَحْوَصِ عَنْ سِمَاكٍ عَنْ مُوسَى بْنِ طَلْحَةَ عَنْ أَبِيهِ

عَنْ رَسُولِ اللهِ ﷺ قَالَ إِذَا وَضَعَ أَحَدُكُمْ بَيْنَ يَدَيْهِ مِثْلَ مُؤَخِّرَةِ الرَّحْلِ فَلَا يَضُرُّهُ مَنْ مَرَّ وَرَاءَ ذَلِكَ وَفِي حَدِيثِ أَبِي عَبْدِ اللهِ فَلْيُصَلِّ وَلَا يُبَالِي مَنْ يَمُرُّ وَرَاءَ ذَلِكَ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ يَحْيَى بْنِ يَحْيَى وَقُتَيْبَةَ

See similar narrations below:

Collected by Muslim, Ibn Ḥibbān
muslim:499aYaḥyá b. Yaḥyá And Qutaybah b. Saʿīd Waʾabū Bakr b. Abū Shaybah > Yaḥyá > al-Ākharān > Abū al-Aḥwaṣ > Simāk > Mūsá b. Ṭalḥah from his father

The Messenger of Allah ﷺ said: When one of you places in front of him so me. thing such as the back of a saddle, he should pray without caring who passes on the other side of it.  

مسلم:٤٩٩aحَدَّثَنَا يَحْيَى بْنُ يَحْيَى وَقُتَيْبَةُ بْنُ سَعِيدٍ وَأَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ قَالَ يَحْيَى أَخْبَرَنَا وَقَالَ الآخَرَانِ حَدَّثَنَا أَبُو الأَحْوَصِ عَنْ سِمَاكٍ عَنْ مُوسَى بْنِ طَلْحَةَ عَنْ أَبِيهِ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ إِذَا وَضَعَ أَحَدُكُمْ بَيْنَ يَدَيْهِ مِثْلَ مُؤْخِرَةِ الرَّحْلِ فَلْيُصَلِّ وَلاَ يُبَالِ مَنْ مَرَّ وَرَاءَ ذَلِكَ  

ذِكْرُ الْبَيَانِ بِأَنَّ السُّتْرَةَ تَمْنَعُ مِنْ قَطْعِ الصَّلَاةِ لِلْمُصَلِّي، وَإِنْ مَرَّ مِنْ دُونِهَا الْحِمَارُ وَالْكَلْبُ وَالْمَرْأَةُ

ibnhibban:2379Muḥammad b. ʿAbdullāh b. al-Junayd > Qutaybah b. Saʿīd > Abū al-Aḥwaṣ > Simāk b. Ḥarb > Mūsá b. Ṭalḥah from his father

The Messenger of Allah ﷺ said: When one of you places in front of him so me. thing such as the back of a saddle, he should pray without caring who passes on the other side of it. (Using translation from Muslim 499a)  

ابن حبّان:٢٣٧٩أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ الْجُنَيْدِ قَالَ حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ قَالَ حَدَّثَنَا أَبُو الْأَحْوَصِ عَنْ سِمَاكِ بْنِ حَرْبٍ عَنْ مُوسَى بْنِ طَلْحَةَ عَنْ أَبِيهِ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ «إِذَا وَضَعَ أَحَدُكُمْ بَيْنَ يَدَيْهِ مِثْلُ مُؤْخِرَةِ الرَّحْلِ فَلْيُصَلِّ وَلَا يُبَالِي مَنْ مَرَّ وَرَاءَ ذَلِكَ»