It is narrated from Hazrat Umm Habibah that the Prophet (peace be upon him) said: It is not permissible for any woman who believes in Allah and the Last Day (or Allah and His Messenger) to mourn for more than three days over any deceased person other than her husband (however, for her husband she will observe mourning for four months and ten days).