It is narrated from Humaid bin Nafi’ that Zainab bint Abi Salama related three hadiths to him. She said that Zainab (may Allah be pleased with her) narrated: I came to Umm al-Mu’minin Umm Habibah (may Allah be pleased with her) at the time when her father Abu Sufyan had passed away. Umm Habibah (may Allah be pleased with her) asked for perfume in which there was a yellowish tinge of khaluq or something else mixed in it. Then a slave girl applied it to her, then she herself applied it to her cheeks, and then said: “By Allah! I had no desire for perfume, but I heard the Messenger of Allah (ﷺ) say: ‘It is not permissible for a woman who believes in Allah and the Last Day to mourn for anyone for more than three days, except for her husband (for whom the mourning period is) four months and ten days.’”
Hadith Referenceمسند الإمام الشافعي / كتاب العدد والسكنى والنفقات / 1309
Hadith Takhrijاخرجه البخاری، الطلاق، باب تحد المتوفى عنها اربعة اشهر وعشراً (5334) ومسلم، الطلاق، باب وجوب الإحداد في عدة الوفاة .... الخ (1486)۔