It was narrated from Ibn Umar concerning the Messenger of Allah (ﷺ) he said: "He used to set up a short spear then pray facing toward it."
Sunan an-Nasa'i Book 9, Hadith 6