Sahih Bukhari Volume 007, Book 072, 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.