Anas ibn Malik reported: The Messenger of Allah, peace and blessings be upon him, said, “Two voices are cursed in this world and in the Hereafter: a flute at a time of celebration, and wailing at a time of calamity.”
Source: Musnad al-Bazzār 7513
Grade: Hasan (fair) according to Al-Albani
عَنْ أَنَسِ بْنِ مَالِكٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ صَوْتَانِ مَلْعُونَانِ فِي الدُّنْيَا وَالآخِرَةِ مِزْمَارٌ عِنْدَ نِعْمَةٍ وَرَنَّةٌ عِنْدَ مُصِيبَةٍ
7513 مسند البزار
3801 المحدث الألباني خلاصة حكم المحدث حسن في صحيح الجامع