Sahih al-Bukhari, Book 77, Hadith 98 (Bukhari 5654)

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.