The Messenger of Allah ﷺ took a pledge from us that we would not wail in mourning.
أخبرنا الحسن بن أحمد قال حدثنا أبو الربيع قال أنبأنا حماد قال حدثنا أيوب عن محمد
أخذ علينا رسول الله ﷺ البيعة على أن لا ننوح
Related by Muslim, Funerals, Chapter: The Strict Prohibition of Wailing, no. 936, from the hadith of Abu Rabi. Related by Bukhari, Funerals, Chapter: What Is Forbidden of Wailing, Crying, and Rebuking It, no. 1306, from the hadith of Hammad bin Zayd, with the same wording. It is also in Kubra, no. 7803.