Abdullah bin Abbas reported,

I bear witness regarding the Prophet ﷺ, or Ata said, I bear witness regarding Ibn Abbas, that the Messenger of Allah ﷺ went out accompanied by Bilal. Thinking that he had not made the women hear, he admonished them and commanded them to give charity. The women began throwing down their earrings and rings, and Bilal was collecting them in the corner of his garment.Abu Abdullah said, Ismail reported from Ayub, from Ata, who said regarding Ibn Abbas, "I bear witness regarding the Prophet ﷺ."

Bukhari 98

Sahih

حدثنا سليمان بن حرب قال حدثنا شعبة عن أيوب قال سمعت عطاء قال سمعت

ابن عباس قال

أشهد على النبي ﷺ أو قال عطاء أشهد على ابن عباس أن رسول الله ﷺ خرج ومعه بلال فظن أنه لم يسمع فوعظهن وأمرهن بالصدقة فجعلت المرأة تلقي القرط والخاتم وبلال يأخذ في طرف ثوبه قال أبو عبد الله وقال إسماعيل عن أيوب عن عطاء وقال عن ابن عباس أشهد على النبي ﷺ

البخاري 98صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Knowledge
Chapter
Exhortation of the imam to women and teaching them
Numbering
Darussalam 98
Bukhari 98