From Sahih Bukhari (Hadith 5881):
Narrated ibn `Abbas:The Prophet (ﷺ) came out on the day of `Id and offered a two-rak`at prayer, and he did not pray any rak`a before it, nor after it. Then he went towards the women and ordered them to give alms. The women started donating their earring and necklaces
Reference: Bukhari 5881