The Prophet ﷺ said, "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."
أخبرنا محمد بن معمر قال حدثنا حبان قال حدثنا سليمان بن كثير قال حدثنا الزهري عن عروة
أن النبي ﷺ قال لا يحل لامرأة تؤمن بالله واليوم الآخر أن تحد فوق ثلاثة أيام إلا على زوج
Sourcing, sahih. Ahmad reported it: 6/249, from the hadith of Sulayman bin Kathir, through him. It is also in Kubra, hadith: 5720. See the preceding hadith.