The Messenger of Allah ﷺ forbade us from wailing over the dead.
حدثنا مسدد حدثنا عبد الوارث عن أيوب عن حفصة
إن رسول الله ﷺ نهانا عن النياحة
No references are available.
Reference: Musaddad narrated it in full. Bukhari, in the Book of Rulings, chapter on the pledge of women, hadith 7215, narrated it from Musaddad in full, and it has another route in Muslim, hadith 936/32, from Hafsa.