Zaynab bint Abu Salama reported,

When the news of Abu Sufyan's death reached Umm Habiba, she called on the third day for a yellow perfume and rubbed it on her forearms and the sides of her face, saying, "I had no need for this, but I heard the Prophet ﷺ say, 'It is not lawful for a woman who believes in Allah and the Last Day to mourn for more than three days, except for a husband, for whom she mourns four months and ten days.'"

Muslim 3734

Sahih

و حدثنا عمرو الناقد وابن أبي عمر واللفظ لعمرو حدثنا سفيان بن عيينة عن أيوب بن موسى عن حميد بن نافع

عن زينب بنت أبي سلمة قالت

لما أتى أم حبيبة نعي أبي سفيان دعت في اليوم الثالث بصفرة فمسحت به ذراعيها وعارضيها وقالت كنت عن هذا غنية سمعت النبي ﷺ يقول لا يحل لامرأة تؤمن بالله واليوم الآخر أن تحد فوق ثلاث إلا على زوج فإنها تحد عليه أربعة أشهر وعشرا

مسلم 3734صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Divorce
Chapter
Obligation of mourning restrictions during the waiting period after a husband's death and its prohibition otherwise except for three days
Numbering
Darussalam 3734
Muslim 3734