In answering this question, I cannot do any better than citing below one of my earlier answers here:
Music is an issue that has been hotly debated by scholars of the past and the present. While many of them have been generally inclined to condemn all forms of music – with the singular exception of al-dduff (tambourine) in weddings -, quite a few of them have taken a more positive approach of considering only music containing sensual, pagan, or unethical themes or subliminal messages as being categorically forbidden.
The latter view seems to be more consistent with the general nature of Islam, which is undoubtedly a complete way of life that caters to all of the genuine human instincts and needs within permissible limits. Thus to say that all music is forbidden in Islam does not seem to agree with the balanced approach of Islam to issues of human life and experience.
Traditions often cited by the first group scholars to justify condemnation of all musical instruments and music, according to some scholars, are considered as either spurious, or phrased in such way solely because of their associations with drinking, dancing, and sensuality.
While everyone agrees that all forms of music that contain pagan, sensual themes, or subliminal messages are clearly forbidden, the latter group of scholars considers all forms of music free of such themes and messages as permissible.
As a matter of fact, we know from the authentic traditions that the Prophet, peace and blessings be upon him, not only allowed music in the weddings but also listened to girls singing: While listening to girls singing on such an occasion, he interrupted them only once when they sang the following verse, “In our midst is a prophet who knows what will happen tomorrow”; whence, the Prophet, peace be upon him, told them, “Cut this sentence out, and continue singing what you had been singing earlier.”
There is nothing in the sources to indicate that the above permission is limited to the occasion of wedding, as some people tend to think.
In light of these, according to the last mentioned group of scholars, music that is deemed to be free of un-Islamic and unethical themes and messages – the same is true of musical instruments so long as they are not used for the above – have been considered as permissible.
A final word: Islam clearly prohibits mixed dancing of males and females.
As far as learning music is concerned, it is permissible only if the person is doing so by strictly complying with the Islamic teachings and guidelines. Such guidelines prohibit all forms of music that use themes or messages forbidden in Islam. So long as a person chant these themes entirely and limit himself to noble messages and ideas, it may be considered permissible so long as his intention is to give a means of comfort and soothing of the soul or creating a lawful way of entertainment. The Prophet, peace and blessings be upon him, said: “Once in a while create outlets for your hearts.” In other words, we should not make music an obsession distracting us from the remembrance of Allah and carrying our religious duties.”
You may also access the answer posted here as well:
https://aboutislam.net/counseling/ask-the-scholar/morals-manners/can-listen-western-music-songs/
Thursday, Jan. 01, 1970 | 00:00 - 00:00 GMT
Views expressed by hosts/guests on this program (live dialogue, Facebook sessions, etc.) are their own and their appearance on the program does not imply an endorsement of them or any entity they represent.