Umm Habiba and Zainab daughter of Jahsh reported God’s Messenger as saying, “It is not lawful for a woman who believes in God and the last day to observe mourning for one who has died more than three nights, except for the four months and ten days in the case of a husband.” (Bukhari and Muslim.)
A relative of Umm Habībah died, so she asked for a yellow perfume and wiped it over her arms and said: "I do this only because I heard the Messenger of Allah (may Allah’s peace and blessings be upon him) say: It is not lawful for a woman who believes in Allah and the Last Day to mourn for a…
"لا يحل لامرأة تؤمن بالله واليوم الآخر أن تحد على ميت فوق ثلاث ليال، إلا على زوج أربعة أشهر وعشرا"