Children are not required to pray before puberty — the obligation itself begins at bulugh (maturity). What begins earlier is the parents' duty: the child is commanded to pray from the age of seven, and at ten is disciplined for neglecting it. The Prophet ﷺ set both ages in a single instruction.
"Command your children to pray when they are seven years old, and beat them for it when they are ten, and separate them in their beds."— Sunan Abi Dawud 495, from Abdullah ibn Amr ibn al-As رضي الله عنه
The two ages, and what each one means
The hadith draws a line at seven and another at ten, and the scholars treat them as two different stages of the same duty.
At seven the child is old enough to distinguish and to be trained, so the command begins. This is not the child's obligation — it is the guardian's. IslamWeb states plainly that prayer is not obligatory on children, but that their guardians must order them to pray at seven. Shaykh Ibn Baz said the same: at seven the boy is commanded, and the girl is commanded and taught.
At ten the command is reinforced with discipline. Ibn Baz's wording is that the child of seven, eight or nine "is commanded and not struck," and that from ten upward he is commanded to pray with the people and struck if he holds back — by his father, his elder brother, or his uncle. IslamWeb adds the qualification the scholars attach to this: the striking is ghayr mubarrih, light and not injurious. It is a corrective measure, not punishment for its own sake.
Why the training starts before the obligation
The purpose is habit. IslamWeb explains the wisdom behind the command as accustoming children to prayer, so that when they reach the age of obligation they find themselves already used to performing it. A child who has prayed from seven reaches puberty already at home in the prayer; one who has never been trained arrives at the obligation with nothing built.
This is why the scholars are firm about parental negligence here. Ibn Baz was asked about parents who leave children of eleven and twelve untended, and answered that this is not permissible — the duty on fathers and mothers is to guide their children and advise them. Al-Albani made the same observation from the other direction: the mosques contain only grown men, and the children of seven to ten whom the hadith speaks of are rarely seen in the five prayers, which shows the parents are falling short.
The stages of childhood
IslamWeb sets out the three stages the scholars use, and the ruling attached to each:
| Stage | Age | Ruling on prayer |
|---|---|---|
| Before discernment | Before seven | Not commanded, and prayer is not valid from him |
| After discernment | Seven to ten | Commanded, as training |
| After ten | Ten to puberty | Commanded, and disciplined if he refuses |
At puberty the prayer becomes an obligation on the child himself. Ibn Baz notes that once the boy reaches ihtilam (a wet dream, or the other signs of maturity), the prayer is fard upon him, and abandoning it is a grave matter — he cites the position of a group of scholars that leaving the prayer is disbelief that takes a person out of the religion. IslamWeb's fatwa on orphans says the same: once they reach the age of obligation and persist in abandoning prayer after advice, the ruling on them changes entirely.
When the child should be brought to the mosque
Training at home and training in the mosque are not the same thing, and the scholars treat the second as the stronger habit. Ibn Baz says the boy is commanded and taught, and his father or brother takes him out to the mosque. Al-Albani's advice is practical: the father should say "come, my son, pray with me in the mosque," because a child who sees the prayer lived out follows it without being pushed.
On children below seven, Ibn Uthaymin was asked about bringing them to the mosque and answered that there is no harm in it if no disturbance comes from them, since it introduces them to the mosques and accustoms them to attending — and it may bring them joy to be present with the people. If they do cause disturbance, the ruling changes.
The dawn prayer, and gentleness
Al-Albani was asked specifically about Fajr and Isha during school terms, and his answer was to build up gradually. He advised convincing parents to command the child in Dhuhr, Asr and Maghrib first; once the child is walking on that line, the question of Fajr comes in its turn. On Fajr itself he said to use gentleness and not severity, because a child is naturally sleepy, and the parent must be wise — not waking him so harshly that he prays "like a drunkard," nor leaving him excused forever. His phrase was that it should be "sometimes and sometimes," and that the head of the household must balance firmness with the child's capacity.
IslamWeb offers the same practical sequence for a child struggling with Fajr: make the prayer beloved to him and mention its virtue and standing in Islam, then accustom him to sleeping early so he gets his need of sleep before the prayer — and only if that does not work is there any place for light discipline.
If the parents themselves do not pray
One point the scholars raise is that the command cannot be given convincingly by someone who does not act on it. Al-Albani asks whether fathers themselves attend the five prayers in the mosque, and notes that a child who watches his father go to the mosque will race toward good on his own. The training is caught before it is taught.
Key takeaways
- Prayer is not obligatory on a child before puberty — the obligation begins at bulugh, marked by a wet dream, the growth of pubic hair, or reaching fifteen.
- From seven, the guardian must command the child to pray; this is the guardian's duty, not the child's obligation.
- From ten, the child is disciplined for refusing — lightly and without injury, by the father, elder brother or uncle.
- The purpose is habit, so that the child meets the obligation already accustomed to the prayer.
- Build up gradually and with gentleness, especially for Fajr — the scholars warn against both harshness and indefinite leniency.
Further reading
- Sunan Abi Dawud, Book of Prayer, chapter on when a boy is commanded to pray (hadith 494–495)
- Shaykh Ibn Baz, Majmu' al-Fatawa, the chapter on the obligation of commanding children to pray at seven
And Allah knows best.
Sources4
This is a guide to what the scholars have said, not a fatwa. For your own situation, ask a qualified scholar who can hear the details.