The Messenger of Allah ﷺ said, "Two sounds are cursed in this world and the next, the sound of a flute at a moment of blessing and the sound of wailing at a time of calamity."
قال رسول الله ﷺ: صوتان ملعونان في الدنيا والآخرة: مزمار عند نعمة ورنة عند مصيبة.
No references are available.
Bazzar narrated it in Kashf Astar (795) from Amr bin Ali, who said, Abu Asim (who is Dahhak bin Makhlad) told us, Shabib bin Bishr Bajali told us, he said, I heard Anas bin Malik, and he mentioned it.Its chain of transmission is hasan because of Shabib bin Bishr, since there is disagreement about him. Ibn Main said, "He is trustworthy," while Abu Hatim said, "His hadith is weak." Ibn Hibban mentioned him in Thiqat (4/359) and said, "He makes many mistakes." Haythami mentioned it in Majma (133) and said, "Bazzar narrated it, and its narrators are trustworthy."