Short answer
Playing football is permitted in the Hanafi school if it is for exercise or a real benefit, the awrah is covered (navel to knees for men), prayers are not missed, there is no betting and no harm or abuse. Watching matches is discouraged or not permitted in Hanafi fatwas, because it wastes time and often brings uncovered awrah, music and gambling.
Playing football is permitted under conditions: a real benefit such as exercise, no harm, no other sin (awrah uncovered, swearing, gambling, mixing) and no neglect of prayers. Watching matches on TV or in stadiums is not permitted according to some Hanafi fatwas, and discouraged by others, because it has no benefit and leads to sin.
The four schools agree on this.
Explanation
The Prophet ﷺ raced with his wife Aisha, and the Companions practised archery, running and horse racing. The religion encourages healthy exercise and play. A game is lawful by default; what matters are the things around it.
Conditions when playing (a real benefit such as exercise, no harm, no other sin, no neglect of duties):
- Cover the awrah. For men, from the navel to below the knees. Very short shorts are not suitable.
- Do not miss prayers. Stop the game and pray when the time comes.
- No betting. Wagering on a match is gambling, and so is a prize pool made of the players' own entry fees.
- No harm. Do not injure, insult or fight. Do not swear, which is common on the pitch.
Watching is different. Hanafi muftis such as Shaykh Yusuf Shabbir say watching matches on TV or in stadiums should be avoided: it has no real benefit, wastes time and money, and leads to looking at uncovered awrah, mixing of the sexes and missed prayers. If you do watch, keep it short and avoid music, immodest adverts and betting promotions. Intense tribal loyalty, fights with other fans and spending money on tickets and kits beyond your means are all blameworthy. The Prophet ﷺ said that part of a person's good Islam is leaving what does not concern him, so keep football in its place. For women, see women and sports, and for the list of sports with a sunnah, see which sports are sunnah.
The evidence
Quran, Surah Al-Muminoon 23:3
وَٱلَّذِينَ هُمْ عَنِ ٱللَّغْوِ مُعْرِضُونَ ﴿٣﴾
And they who turn away from ill speech
A believer keeps away from idle and abusive talk, which the pitch often brings out.
Sunan Abi Dawud 2578
Graded sahih... هذه بتلك السبقة ...
"This one is for that race."
The Prophet ﷺ raced with Aisha, so lawful sport and play are allowed.
Jami' at-Tirmidhi 2317
Graded sahih... من حسن إسلام المرء تركه ما لا يعنيه ...
"Part of a person's good Islam is leaving what does not concern him."
Leaving what does not concern you is part of good Islam, which keeps play in proportion.
Where the ruling is recorded
- al-Durr al-Mukhtar, Kitab al-Hazr wa al-Ibaha, section on racing (musabaqa). Physical contests are lawful when free of gambling and sin.
- Radd al-Muhtar (Ibn Abidin), Kitab al-Hazr wa al-Ibaha, discussion of games and play. Games that waste duties or involve sin are forbidden; others are permitted.
Reviewed by Hafez Mawlana Abu Darda and Mawlana Akramul Haque Fenwi, Islamic scholars. For a more accurate answer to your own situation, consult a scholar. Quran translation by Saheeh International. Hadith: selections from sunnah.com, Arabic from the standard editions of the six books and the Muwatta, with gradings as recorded there; the English is our own rendering. Spotted a mistake? Tell us.