It was narrated from Ibn ‘Abbas that the Prophet (ﷺ) forbade wearing weapons in the Muslim lands on the two ‘Eid, except if the enemy was present.