Sunan an-Nasa'i, Book 19, Hadith 10 (Nasa'i 1570)

It was narrated from Ibn 'Umar that:

The Messenger of Allah (ﷺ) used to take out an 'Anazah (a short spear) on the day of Al-Fitr and the day of Al-Adha, plant it in the ground, and pray facing toward it.