Umm Atiya reported,

The Messenger of Allah ﷺ said, "No woman should mourn for any deceased person more than three days, except a wife who mourns for her husband four months and ten days. During that period she must not wear a dyed garment, except one made of asb cloth, nor apply kohl, nor use perfume, except when she purifies herself at the end of her menses, when she may use a small piece of qust or azfar."

Ibn Majah 2087

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا عبد الله بن نمير عن هشام بن حسان عن حفصة

عن أم عطية قالت

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

ابن ماجه 2087صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Divorce
Chapter
Should a woman observe mourning for other than her husband
Numbering
Darussalam 2087
Ibn Majah 2087