It wasnarrated from Abu Hurairah that the Prophet (ﷺ) said:
"Whenanyone of you performs prayer, let him put something in front of him.If he cannot find anything then let him put a stick. If he cannotfindone, then let him draw a line. Then it will not matter ifanythingpasses in front of him." (AR)
English reference (AR): Vol. 1, Book 5, Hadith 943 (AR)
Arabic reference (AR): Book 5, Hadith 996 (AR)