Narrated by Sayyiduna Ibn Umar (may Allah be pleased with them both): The Messenger of Allah (peace and blessings be upon him) used to go out (to the Eid ground) on the days of Eid al-Fitr and Eid al-Adha carrying a spear, which he would place as a sutrah (barrier) and then perform the prayer behind it, and after the prayer he would deliver the sermon.
The imam does not use it as a screen in the prayer place when he prays, based on a general report in which the reason was not clarified for which the Prophet, peace and blessings be upon him, used to bring out the spear.
Hadith Referenceصحيح ابن خزيمه / جماع أبواب صلاة العيدين، الفطر والأضحى، وما يحتاج فيهما من السنن / 1433