It is generally considered illegal to share or knowingly receive copyrighted material without permission from the copyright holder. However, there may be exceptions or ambiguities depending on various factors, such as the location of the user and the specific music being shared.
In general, it is recommended to comply with copyright laws and use legitimate sources to obtain music. You can purchase music through platforms such as iTunes Store, Amazon Music, or Google Play Music, or consider using legal music streaming services like Spotify, Apple Music, or YouTube Music.