Is Music Haram in Islam? What the Schools of Thought Actually Say
In brief: There is no single Islamic ruling on music. Most Sunni schools prohibit instruments — Hanafi and Hanbali most strictly, the Shafi'i mainstream too; the Maliki school ranges from strict to permissive. The two major Shia authorities apply per-song tests: Sistani's entertainment-gatherings test and Khamenei's lahwi standard. All agree haram lyrics are forbidden regardless of instrumentation, and the duff at weddings is permitted. Sistani → · Khamenei → · Four Sunni madhabs →
There is no single Islamic ruling on music. Most Sunni schools prohibit musical instruments — the Hanafi and Hanbali madhabs most strictly, with the Shafi'i mainstream following suit, and the Maliki school ranging from strict prohibition (Al-Qurtubi) to a documented classical permissive position (Ibn al-Arabi). The two major Shia frameworks each apply their own specific per-song criterion: Ayatollah Sistani's entertainment-gatherings test and Ayatollah Khamenei's lahwi standard. All schools agree that lyrics with haram content are forbidden regardless of instrumentation, and that the duff at weddings is permitted. This article traces each position to named scholars and classical texts.
What Do All Islamic Schools Agree On About Music?
Before examining the differences, it is worth noting what every major school of Islamic law agrees on. These points hold regardless of whether a person follows a Hanafi, Maliki, Shafi'i, Hanbali, or Shia framework:
- Lyrics matter universally. Content that is sexually explicit, glorifies fornication, mocks religion, promotes alcohol or drug use, or constitutes slander is forbidden under all schools regardless of the accompanying music.
- The duff (frame drum) at weddings is permitted. All four Sunni schools permit this one-sided hand drum at marriage celebrations. The Prophet's instruction "Announce the marriage and beat the duff for it" (recorded in Sahih Muslim) is the textual basis, cited by Ibn Qudamah in al-Mughni (Kitab al-Shahadat, ruling 8).
- Music must not prevent obligatory worship. A song or listening session that causes a person to miss obligatory prayer (salah) or other religious duties crosses into prohibition across all schools.
- Accidental hearing is not sinful. Ibn Qudamah distinguishes istima' (deliberate listening) from sama' (incidental hearing), and Ayatollah Khamenei makes the same distinction (Q1153 on leader.ir). Passing by music in a public space without intent to listen incurs no sin.
- Music accompanying clearly haram activities is itself forbidden. All schools treat music at alcohol-drinking gatherings or events involving prohibited mixing as forbidden by association.
These shared principles form the floor of the discussion. Above that floor, the schools diverge considerably.
Hanafi School: The Strictest Mainstream Position
The Hanafi school takes the most restrictive stance of the four Sunni madhabs. Imam Abu Hanifa (d. 150 AH) considered singing sinful; his position was systematised by later scholars into a categorical prohibition on all musical instruments except the duff.
Key classical sources:
- Al-Marghinani, al-Hidayah (593 AH): classifies instruments into the absolutely prohibited (flute, lute, mandolin) and the conditionally permitted (duff at weddings only).
- Ibn Humam, Fath al-Qadir (6/36): "Singing is unlawful when themes include unlawful things, but even songs with pure content become haram when accompanied by instruments — not because of lyrics, but due to the instruments themselves."
- Ibn Abidin, Radd al-Muhtar (6/348–350, 1252 AH): confirms that keeping musical instruments is sinful even if unused.
Singing without any instrumental accompaniment is conditionally permissible under Hanafi fiqh when the content is pure, the performer and audience are appropriately separated by gender, and the listening does not create heedlessness of Allah. Contemporary Hanafi institutions such as Darul Iftaa Mahmudiyyah (South Africa) and SeekersGuidance maintain this mainstream position, though SeekersGuidance notes a documented minority view — traced to Abd al-Ghani al-Nabulsi (d. 1143 AH) — that music is not intrinsically haram, only when associated with sin.
Full Hanafi ruling: classical sources, the duff exception, and contemporary positions →
Maliki School: The Widest Spectrum
No school documents more internal diversity on music than the Maliki madhab, whose classical sources range from strict prohibition to conditional permission rooted in a different reading of the same evidence.
The restrictive tradition is anchored in Al-Qurtubi (d. 671 AH), whose al-Jami li Ahkam al-Quran (14/51–56) establishes a general prohibition with exceptions for innocent travel songs, festivity, and simple duff at weddings. This is the position widely followed by contemporary Maliki scholars in North Africa and traditional centres.
The permissive classical tradition is anchored in Judge Abu Bakr Ibn al-Arabi (d. 543 AH / 1148 CE), a major Maliki scholar. In his Quranic commentary Ahkam al-Quran (3/1494, Vol. 2 p. 782) he wrote: "None of the hadiths maintaining that singing is prohibited are considered authentic" and "all other instruments used to announce and celebrate weddings are allowed as long as the singers do not use offensive lyrics."
Imam Malik ibn Anas himself (d. 179 AH) reportedly used language of tanzih (undesirability) rather than tahrim (prohibition) for instruments at weddings, which Ibn Rushd in Bidayat al-Mujtahid interprets as placing such matters in the range of the permissible (mubah), particularly for the general public.
In the contemporary period, Sheikh Abdullah bin Bayyah (Mauritania) takes a cautiously permissive position, acknowledging the genuine scholarly disagreement. The Al-Azhar University Grand Mufti Sheikh Jad al-Haq Ali Jad al-Haq (1980s) issued a ruling that listening to music "is allowed as long as it is not accompanied with immoral and sinful acts," grounding this in the principle that all things are permissible until definitively prohibited. This represents one scholarly opinion within Maliki-influenced Egyptian thought, not a universal Maliki ruling.
| Position | Representative Scholar | Practical Outcome |
|---|---|---|
| Restrictive | Al-Qurtubi (d. 671 AH) | Duff at weddings only; all instruments otherwise forbidden |
| Moderate | Ibn Rushd (d. 595 AH) | Percussion allowed; strong emphasis on context |
| Permissive (classical minority) | Ibn al-Arabi (d. 543 AH) | Instruments permitted at celebrations with halal content |
| Contemporary permissive | Al-Azhar / Bin Bayyah | Music allowed absent sinful accompaniments |
Full Maliki ruling: the spectrum from Al-Qurtubi to Ibn al-Arabi explained →
Shafi'i School: Mainstream Prohibition with a Sufi Nuance
The mainstream Shafi'i position prohibits musical instruments (other than the duff) and treats singing without instruments as makruh (disliked). The school's authoritative texts are consistent on this:
- Imam al-Nawawi (631–676 AH), Minhaj al-Talibin: singing without instruments is makruh; the tunbur, lute, cymbal, and Iraqi flute are specifically prohibited.
- Ibn Hajar al-Haytami (909–974 AH), Kaff al-Ra'a (2/270): compiled approximately 40 hadiths on music and declared scholarly consensus on the prohibition of wind and string instruments.
- Reliance of the Traveller (Umdat al-Salik, r40.2): "It is unlawful to use musical instruments — such as those which drinkers are known for, like the mandolin, lute, cymbals, and flute — or to listen to them." The association with drinking culture is an explicit criterion.
Al-Ghazali's contextual framework is sometimes cited as a Shafi'i permission for music, but this requires careful framing. In Ihya' 'Ulum al-Din (2/272–302) Imam Abu Hamid al-Ghazali (450–505 AH) offers a four-category scheme — music can be haram, makruh, mubah, or even mustahab depending on the listener's spiritual state and intent. However, his fiqh works (al-Wasit 7/350) maintain the mainstream prohibition on wind instruments and strings. The Ihya' framework applies primarily to Sufi sama' (spiritual listening) gatherings and is not a general licence for entertainment music. It is best understood as a sophisticated minority opinion for advanced spiritual contexts, not the school's legal default.
Full Shafiʼi ruling: al-Nawawi, Ibn Hajar al-Haytami, and al-Ghazali’s framework explained →
Hanbali School: Spiritual Harm as the Central Concern
The Hanbali school shares the Hanafi instrument prohibition but frames it differently: music is treated as a form of spiritual intoxication rather than simply a legal infraction. This theological emphasis distinguishes Hanbali discourse from the other schools.
Ibn Qudamah (d. 620 AH) provides the most systematic Hanbali treatment in al-Mughni (Kitab al-Shahadat, rulings 6–11), organising instruments into three categories:
- Forbidden (muharram): all string instruments (oud, lute, rabab, tunbur), all wind instruments (nay, flute, mizmar), and most drums. Ibn Qudamah states that whoever habitually listens to these has his legal testimony rejected.
- Permitted (mubah): the duff at weddings. For men, even this is makruh because historically it was beaten by women.
- The qadib (rhythm stick): disliked only when joined to something forbidden such as clapping, singing, or dancing; not disliked on its own.
Notably, Ibn Qudamah records significant internal disagreement on singing (al-ghina') among Hanbali scholars: Abu Bakr al-Khallal and Abu Bakr 'Abd al-'Aziz held singing permissible provided no evil accompanied it; al-Qadi chose makruh without prohibition; others went to outright prohibition. Ibn Qudamah himself notes that Ahmad ibn Hanbal once heard a singer at his son Salih's house and did not object, having assumed the objection was to the associated behaviour, not the voice itself.
Ibn Taymiyyah (d. 728 AH) sharpened the spiritual argument, describing musical instruments as "the wine of the soul" (Majmu' al-Fatawa 10/417) and claiming that the four madhabs agreed on prohibition. Ibn Qayyim al-Jawziyyah (d. 751 AH) extended this in Ighathat al-Lahfan, arguing that music cultivates hypocrisy (nifaq) in the heart. These views became the dominant influence on Saudi official religious scholarship and the contemporary Salafi-aligned tradition.
Full Hanbali ruling: Ibn Qudamah’s three categories and Ibn Taymiyyah’s spiritual framework →
Scholars Who Contested the Claimed Consensus
The claim that all four madhabs agreed on a categorical prohibition of musical instruments is historically contested. Several classical scholars — from within and outside the four schools — disputed both the evidence and the consensus claim directly.
- Ibn Hazm (d. 456 AH / 1064 CE, Zahiri school): Declared that the hadiths used to prohibit music "were invented and falsified" and that "no sound hadith is available under that title," criticising the primary Bukhari hadith (5590) on technical chain grounds (its mu'allaq, or suspended, status in that collection).
- Al-Shawkani (d. 1255 AH / 1839 CE): Wrote an entire treatise titled Ibtal Da'wa al-Ijma' 'ala Tahreem Mutlaq al-Sama' (Nullifying the Claim of Consensus on Music Prohibition). In Nayl al-Awtar (8/104–105) he stated: "The people of Madinah, the Zahiriyyah, and the Sufis maintain that singing is permissible, even when accompanied by a musical instrument such as the lute or the flute."
- Ibn al-Arabi (Maliki, d. 543 AH): As noted above, denied that any authentic hadith establishes categorical prohibition.
- Al-Ghazali (Shafi'i, d. 505 AH): His four-category framework in Ihya' 'Ulum al-Din demonstrates that music is not inherently forbidden in every context.
These are not fringe figures. Al-Shawkani was a major hadith scholar; Ibn Hazm is among the most prolific and rigorous classical jurists in Islamic history. Their dissent does not overturn the majority position, but it does mean that a sincere Muslim who follows a scholar holding the permissive view is acting within documented classical Islamic legal reasoning, not inventing a new opinion. The diversity of views reflects genuine ijtihad (scholarly reasoning), not casual attitude toward the law.
"The madhhab of the people of Madina was permission of musical instruments including flutes and lutes." — Al-Dhahabi, citing Al-Shawkani, Nayl al-Awtar
Shia Frameworks: Sistani and Khamenei
The two most widely followed Shia maraji' (senior authorities) each developed their own assessment methodology. Both forbid certain music; both permit other music. Their frameworks differ significantly in structure.
Ayatollah Sistani applies a single convention-based test: is this music "suitable for entertainment and amusement gatherings"? He explicitly rejects psychological effect as a criterion — music is not forbidden because it arouses desire, and not permitted because it soothes nerves. The question is whether an informed listener would recognise the tune as belonging to the category of entertainment-party music. Religious lyrics cannot override a forbidden tune: Quranic recitation, supplications, and praise poetry sung in entertainment-style tunes remain impermissible. See his A Code of Practice for Muslims in the West, §2071–2072. A detailed breakdown is available at /sistani-music-ruling.
Ayatollah Khamenei uses a multi-layered lahwi (deviating-from-God) framework. Music is forbidden when it "keeps human beings away from Allah the sublime, and away from moral merits and drives them towards sinful acts and carelessness" (Q1123, leader.ir). He identifies five specific categories of forbidden sound, emphasises potentiality (the music's capacity to cause harm, not only its current effect), and grants explicit permission for revolutionary and martial music alongside traditional wrestling-arena beats. In grey-area cases, his ruling is permissibility: "As for the sounds which fall in a grey area, the ruling in their regard is that it is permissible to listen to them" (Q1133). A detailed breakdown is available at /khamenei-music-ruling.
How to Think About a Specific Song
Educational guidance only — not a fatwa. The following questions track the logic of the major schools and can help a person frame the question before consulting a scholar.
- What do the lyrics say? Explicit sexual content, glorification of alcohol, mockery of religion, or slander is impermissible across every school. This is the first filter.
- Which school do you follow? The remaining analysis differs by madhab. A Hanafi Muslim applies a near-categorical instrument prohibition; a Maliki Muslim may apply the restrictive Al-Qurtubi position or the permissive Ibn al-Arabi position depending on their scholarly tradition; a Shafi'i Muslim applies al-Nawawi's mainstream position unless they follow a scholar in the Ghazali-influenced Sufi tradition; a Hanbali Muslim generally applies the Ibn Taymiyyah-Ibn Qayyim framework.
- What instruments are present? Even schools that broadly restrict instruments uniformly permit the duff (frame drum, one side covered, no cymbals) at weddings. All schools agree that electronic instruments follow the same ruling as their acoustic equivalents.
- What is the context? Music at a wedding celebration receives more latitude in all schools than identical music at a general entertainment event. For Sistani followers: does this tune belong to the entertainment-gathering category? For Khamenei followers: does this music take a person away from God — and what is its potential reach?
- Is listening intentional? All schools and both Shia frameworks agree that incidental hearing without intent to listen (in a restaurant, on public transport) does not carry the same ruling as deliberate, repeated listening.
- Does it displace worship? Time or attention devoted to music that causes one to neglect obligatory prayer or other duties is problematic under every framework.
If a song passes all these filters under your chosen framework, it is likely permissible. If it fails any of them, consult a qualified scholar rather than relying on an automated or editorial assessment.
Sources and Further Reading
- Ayatollah Sistani — A Code of Practice for Muslims in the West, §2071–2072 (sistani.org)
- Ayatollah Sistani — Q&A on Ghina, Q01200 (sistani.org)
- Ayatollah Khamenei — Jurisprudence Q&A, Booklet 32: Music (leader.ir)
- Al-Islam.org — Primary Shia texts and scholarly resources
- IslamQA.info — Sunni fatwa database covering all four madhabs
This article is provided for educational purposes only and does not constitute a fatwa or religious ruling. Readers seeking guidance for personal religious practice should consult a qualified Islamic scholar of their chosen school or tradition.
Check a specific song
Halalify analyzes any song against each of these schools and returns a per-school verdict with the reasoning behind it.
Frequently asked questions
Is music haram in Islam?
There is no single answer that applies across all schools of Islamic law. The Hanafi and Hanbali schools prohibit most musical instruments, permitting only the duff (one-sided frame drum) at weddings. The Shafi'i mainstream follows a similar prohibition while treating unaccompanied singing as disliked rather than outright forbidden. The Maliki school contains documented classical positions ranging from strict prohibition (Al-Qurtubi, d. 671 AH) to carefully argued conditional permission (Ibn al-Arabi, d. 543 AH). The two major Shia frameworks — Sistani's entertainment-gatherings test and Khamenei's lahwi standard — each apply their own specific per-song criterion rather than a categorical instrument rule. Scholars such as Ibn Hazm and Al-Shawkani disputed the claimed consensus on prohibition directly, writing entire treatises against it. All schools agree that lyrics with haram content — explicit sexual material, promotion of alcohol, blasphemy — are forbidden regardless of the accompanying music.
Which musical instruments are universally permitted?
The duff — a one-sided frame drum without cymbals — at weddings is the one instrument permitted by all four Sunni schools. This is grounded in an authentic hadith in Sahih Muslim: 'Announce the marriage, and beat the duff for it.' Ibn Qudamah confirms this in al-Mughni (Kitab al-Shahadat, ruling 8), noting that even the Hanbali school's otherwise strict instrument prohibition makes room for the duff at marriages. Even this single agreed permission carries conditions: the Hanbali school considers it disliked for men to play the duff, associating it historically with female performers; all schools require the accompanying singing to have permissible content; and the duff must be one-sided, without added cymbals or features that would bring it closer to the category of entertainment instruments. For the Shia frameworks, the question of permitted instruments is evaluated case-by-case under each school's criterion, not through a categorical instrument list.
What did Ibn Hazm and Al-Shawkani say about music?
Both scholars directly disputed the claim that the four Sunni schools reached a binding consensus (ijma) on a categorical prohibition of musical instruments. Ibn Hazm (Zahiri, d. 1064 CE) examined the prohibitive narrations one by one in al-Muhalla, declared them fabricated or broken in transmission, and concluded that no sound hadith establishes a categorical ban. Al-Shawkani (d. 1839 CE), a major hadith authority, devoted an entire treatise — Ibtal Da'wa al-Ijma' 'ala Tahreem Mutlaq al-Sama' (Nullifying the Claim of Consensus on the Prohibition of Listening) — to the same point. In Nayl al-Awtar (8/104–105) he records that the people of Medina, the Zahiri school, and the Sufis all held singing permissible even when accompanied by instruments such as the lute or flute. These are documented classical positions from rigorous jurists, not modern liberal revisions — which is why a Muslim following the permissive view is acting within recognized scholarly reasoning, even though it remains the minority opinion.
How does Ayatollah Sistani evaluate whether a song is halal?
Sistani applies a single, convention-based test: is this music 'suitable for entertainment and amusement gatherings'? If the tune belongs to that category it is forbidden to listen to intentionally; if it does not, it is permitted. Crucially, he explicitly rejects psychological effect as the criterion — music is not forbidden because it arouses desire, and not permitted because it is therapeutic or soothing. The judgment is made by an informed listener, especially one familiar with music, who asks whether the tune is of the type used at entertainment parties. Religious content — Quranic recitation, supplications, or praise of the Ahlul Bayt — sung in entertainment-style tunes remains forbidden under his framework, because it is the musical form, not the words, that determines the ruling. He also distinguishes intentional listening from incidental hearing: passively encountering forbidden music in a cafe or on transport does not carry the same ruling. See sistani.org, A Code of Practice for Muslims in the West, §2071–2072.
How does Ayatollah Khamenei's framework differ from Sistani's?
Khamenei uses a lahwi (deviating-from-God) framework with multiple overlapping criteria, while Sistani uses a single convention-based entertainment-gathering test. Khamenei identifies five categories of forbidden sound — sexually exciting, forcing sin, preventing obligatory acts, creating religious indifference, and causing dancing — and emphasises potentiality: the music's capacity to cause harm even if it does not currently do so in a particular listener. He explicitly permits revolutionary and martial music, and treats context (the performer, the venue, the accompanying words) as legally relevant. Where Sistani is more categorical — religious lyrics cannot override a forbidden tune — Khamenei is more contextual and intent-sensitive. The two also diverge on grey-area cases: Sistani's test pushes the listener to classify the tune, while Khamenei explicitly rules that genuinely ambiguous sounds are permissible to listen to (Q1133, leader.ir). In practice a single song can pass one framework and fail the other, which is why Halalify reports each school's verdict separately rather than merging them.
Does the ruling change if I hear music accidentally versus listen deliberately?
Yes — this distinction is recognised by all major Sunni schools and both Shia frameworks. Ibn Qudamah in al-Mughni distinguishes istima' (deliberate, intentional listening) from sama' (incidental hearing), noting that the prohibition attaches to the former. He grounds this in the Quranic description of the believers: 'When they hear vain talk they turn away from it' — turning away from sound one happens to hear, not plugging the ears against all sound. Ayatollah Khamenei (Q1153, leader.ir) and Ayatollah Sistani both confirm the same principle: passing by music in a public space, restaurant, park, or on transport without intending to listen does not carry the ruling that applies to deliberately seeking it out. The practical boundary is intention and attention. A person who sits in a cafe and passively hears background music is in a different position from one who opens a music app and chooses to play the same track. This is why Halalify's verdicts address intentional listening, the case the schools actually legislate.
Halalify Music is an educational tool, not a fatwa service. It summarizes documented scholarly positions and is not a substitute for consulting a qualified Islamic scholar for a personal ruling.