I never saw the Messenger of Allah (ﷺ) praying in front of a stick, a pillar, or a tree, without having it opposite his right or left eyebrow, and not facing it directly.
Sunan Abi Dawud Book 2, Hadith 303