It was narrated from Awn bin Abi Juhaifah, from his father that, the Messenger of Allah(ﷺ) went out in a red Hullah, and he set up a short spear (Anazah) and prayed facing toward it, while dogs, women and donkeys were passing beyond it.
Sunan an-Nasa'i Book 9, Hadith 31