Guidance from The Prophet (peace be upon him)
Hadrat Abdullah Ibn Masud (r.a.) said: The Messenger of Allah (peace be upon him) said, "He who (on befalling a calamity) slaps his cheeks, tears his clothes and follows the ways and traditions of the Days of Ignorance is none of us.
Related by Bukhari and Muslim.
It simply does not befit the character of a believer to wail, or lament, or slap ones cheeks, or chest, or tear ones clothes, etc. when afflicted by a calamity as a trial from their Lord. One should recognize that their affliction is no more than a trial from their Lord, accept their affliction with patience, and declare: Inna lillahe wa inna ilayhe rajeoon (To Allah we belong and to Him is our return). Such is the act of wailing and lamenting when afflicted by a calamity hated in the Sight of Allah Subhanah, that the Messenger of Allah (peace be upon him) declared wailing as a tradition of the days of ignorance, and warned that one who wails at an affliction is none of us (not a true believer)!