Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to go out to the prayer ground on the day of Eid with the Anazah carried in front of him. When he reached the prayer ground, it would be planted in front of him, and he would pray facing it. This was because the prayer ground was an open space with nothing to serve as a barrier.

Ibn Majah 1304

Sahih

حدثنا هشام بن عمار حدثنا عيسى بن يونس ح و حدثنا عبد الرحمن بن إبراهيم حدثنا الوليد بن مسلم قالا حدثنا الأوزاعي أخبرني نافع

عن ابن عمر

أن رسول الله ﷺ كان يغدو إلى المصلى في يوم العيد والعنزة تحمل بين يديه فإذا بلغ المصلى نصبت بين يديه فيصلي إليها وذلك أن المصلى كان فضاء ليس فيه شيء يستتر به

ابن ماجه 1304صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Spear on Eid day
Numbering
Darussalam 1304
Ibn Majah 1304