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." (ES)
English reference (ES): Vol. 3, Book 10, Hadith 2085 (ES)
Arabic reference (ES): Book 10, Hadith 2163 (ES)