Crying without wailing
Anas (radi Allahu anhu) reported: The Messenger of Allah (sal Allahu alaihi wa sallam) came to his son Ibrahim when he was breathing his last (breath). The eyes of the Messenger of Allah (sal Allahu alaihi wa sallam) began shedding tears. ‘Abdur-Rahman bin ‘Auf (radi Allahu anhu) said, “O Messenger of Allah, you too weep?” He (sal Allahu alaihi wa sallam) said, “O Ibn ‘Auf! It is mercy.” Then he began to weep and said, “The eyes are shedding tears and the heart is grieved, and we will not say except what pleases our Rubb (Lord). O Ibrahim! Indeed we are grieved by your departure.”
The death of the Prophet’s son, Ibrahim, born of Miriyah (radi Allahu anha) occurred in the tenth year of Hijra. The Ahadith clearly prove that weeping over a loved one’s death is permissible but it should be void of wailing.
Imam Al-Nawawi (may Allah have mercy on him) said, Wailing is unanimously forbidden (Haram).
There are some Ahadith which forbid us from crying over somebody’s death, and which inform us that the dead will be tormented in their graves as a result of their relatives crying over their death. This prohibition applies only to those cases where crying is accompanied with lamenting and wailing. Weeping without these two is, permissible; and the Ahadith in support of this are many.
And Allah knows best!