Messenger of Allah said: "When one of you placed something like the post (handle) of the camel saddle in front of him, then let him perform Salat and not concern himself with who passes beyond that."
قَالَ رَسُولُ اللَّهِ ﷺ إِذَا وَضَعَ أَحَدُكُمْ بَيْنَ يَدَيْهِ مِثْلَ مُؤَخَّرَةِ الرَّحْلِ فَلْيُصَلِّ وَلاَ يُبَالِي مَنْ مَرَّ وَرَاءَ ذَلِكَ قَالَ وَفِي الْبَابِ عَنْ أَبِي هُرَيْرَةَ وَسَهْلِ بْنِ أَبِي حَثْمَةَ وَابْنِ عُمَرَ وَسَبْرَةَ بْنِ مَعْبَدٍ الْجُهَنِيِّ وَأَبِي جُحَيْفَةَ وَعَائِشَةَ