It is narrated from Ibn Abbas (may Allah be pleased with them both) that he states: The Prophet (ﷺ) offered the Eid prayer in the Eidgah on the days of Eid; he did not offer any prayer before it nor after it. Then he came to the women and delivered a sermon to them while standing and instructed them to give charity. Ibn Abbas (may Allah be pleased with him) says: The women gave their earrings and other items as charity.
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 480
Hadith Takhrijصحيح من غير هذا الطريق اخرجه البخاري العيدين ، باب الخطبة بعد العيد (964) ومسلم ، العيدين ، باب صلاة العيدين (884)۔