The Prophet ﷺ said, "It is not lawful for a woman who believes in Allah and the Last Day to mourn for any deceased person beyond three days, except for a husband."
حدثنا سفيان حدثنا الزهري عن عروة
أن النبي ﷺ قال لا يحل لامرأة تؤمن بالله واليوم الآخر تحد على ميت فوق ثلاث إلا على زوج
Its isnad is sahih, mentioned previously at 10523.