The Prophet ﷺ forbade the carrying of weapons in Muslim lands during the two Eids, unless the people were facing an enemy.
حدثنا عبد القدوس بن محمد حدثنا نائل بن نجيح حدثنا إسمعيل بن زياد عن ابن جريج عن عطاء
أن النبي ﷺ نهى أن يلبس السلاح في بلاد الإسلام في العيدين إلا أن يكونوا بحضرة العدو
No references are available.
[Its chain of transmission is very daif] Busiri said, this chain contains Nail bin Najih and Ismail bin Ziyad, and both of them are daif. I say, this Ismail is discarded (matruk), they accused him of lying, as stated in Taqrib.