Sahih Bukhari | Volume 7 | Hadith Number 769

Narrated by 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.