I never saw the Messenger of Allah (ﷺ) praying in front of a stick, a pillar, or a tree…

Sunan Abu Dawud Book 2 Hadith 303

Sunan Abu Dawud #693

Prayer (Kitab Al-Salat) 2:303

Narrated Al-Miqdad ibn al-Aswad:

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.

Chapter: If He Prays Towards A Pillar Or Other Object, Where Should It Be In Relation To Him

Grade: Da'if (Al-Albani)