Sunan Ibn Majah, Book 10, Hadith 70 (Ibn Majah 2085)

It was narrated from 'Aishah that:

the Prophet (ﷺ) said: "It is not permissible for a woman to mourn for any deceased person for more than three days, except for her husband."