She said, "The Prophet ﷺ took a pledge from us at the time of allegiance that we would not wail in mourning, but none of us kept it except five women, Umm Sulaym, Umm Ala, the daughter of Abu Sabra who was the wife of Muaz, and two other women." Or she said, "The daughter of Abu Sabra, the wife of Muaz, and one other woman."
أخذ علينا النبي ﷺ عند البيعة أن لا ننوح، فما وفت منا امرأة غير خمس نسوة: أم سليم، وأم العلاء، وابنة أبي سبرة امرأة معاذ، وامرأتين. أو ابنة أبي سبرة وامرأة معاذ وامرأة أخرى.
Bukhari related it in the tafsir chapter (1306), and Muslim in the funerals chapter (936), both through Hammad bin Zayd, who said, "Ayub narrated to us, from Muhammad bin Sirin, from Umm Atiya," who said, and then she narrated it. The wording given here is Bukhari's, and Muslim's version does not include "and another woman."