Knowingly Committing Haram
Music has no absolute prohibition in Islam. The real prohibition is that of immorality and polytheism . Music as well as any other activity which contains these elements is obviously considered prohibited. For details please see: Discussion 55241 Haram and halal are determined on the basis of the five broad categories provided in Quran verse 7:33 . For details please see: Discussion 42832 With that said, if someone commits a prohibited act in ignorance , or carelessly commits a permissible act while thinking that the act was prohibited by God , in either case he has wronged himself and should sincerely repent as soon as the realization sets in. Insha’allah such acts will be forgiven.