It was narrated from Abu Hurairah that the Prophet (ﷺ) said:
“When anyone 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 cannot find one, then let him draw a line. Then it will not matter if anything passes in front of him.”