There are no specific restrictions on mourning during certain times or occasions in Islam. However, it is important to remember that excessive mourning or engaging in forbidden acts (e.g., self-harm, wailing, or attributing partners to Allah) is discouraged at all times. The focus should be on remembering and honoring the deceased with dignity and respect.