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. (Using translation from Nasāʾī 1565)
أَنَّ رَسُولَ اللهِ ﷺ «كَانَ يُخْرِجُ الْعَنَزَةَ يَوْمَ الْفِطْرِ وَيَوْمَ الْأَضْحَى فَيَرْكُزُهَا فَيُصَلِّي إِلَيْهَا»