The short answer
The Prophet ﷺ told parents to instruct children to pray at seven, so that by ten they pray regularly, giving about three years of patient, encouraging teaching before salah becomes obligatory at puberty. Children learn best by example, gentle routine and making prayer something they love, not something they fear.
The detail
The Quran tells believers to command their families to pray and to be patient in it themselves (20:132), and records Luqman advising his son to establish prayer (31:17). The Prophet ﷺ gave parents a practical timeline: instruct children to pray at seven, and take it more seriously at ten.
Before seven: love and example
Young children copy what they see. Let them stand beside you, give them their own prayer mat, praise them when they join in, and talk about Allah with warmth. There is no pressure to pray correctly at this age.
From seven: teaching
- Teach wudu and the steps of salah, a little at a time.
- Help them memorise short surahs and the words of prayer.
- Build a routine around one or two prayers, then add more.
- Use praise, charts, small rewards and family prayer together.
From ten: firmer encouragement
The same hadith mentions disciplining a child of ten who neglects prayer. Scholars explain this as the last resort after three years of teaching, never harsh, never on the face and never causing injury. Many contemporary scholars and educators advise that today's best discipline is non-physical, such as firm reminders and loss of privileges, and parents must also follow the law of their country. The goal is a child who loves prayer, not one who fears it.
Puberty
Prayer becomes obligatory once a child reaches puberty. By then, a child who was taught patiently will usually already have the habit.
The hadith also mentions separating children's beds at that age, part of teaching modesty as they grow.
Primary references
The Quran and hadith this answer rests on, quoted from the stored texts with their references.
From the Quran
Quoted from the stored Quran text with the translation named below each verse.
وَأْمُرْ أَهْلَكَ بِٱلصَّلَوٰةِ وَٱصْطَبِرْ عَلَيْهَا ۖ لَا نَسْـَٔلُكَ رِزْقًۭا ۖ نَّحْنُ نَرْزُقُكَ ۗ وَٱلْعَٰقِبَةُ لِلتَّقْوَىٰ
And enjoin upon thy people worship, and be constant therein. We ask not of thee a provision: We provided for thee. And the sequel is for righteousness.
يَٰبُنَىَّ أَقِمِ ٱلصَّلَوٰةَ وَأْمُرْ بِٱلْمَعْرُوفِ وَٱنْهَ عَنِ ٱلْمُنكَرِ وَٱصْبِرْ عَلَىٰ مَآ أَصَابَكَ ۖ إِنَّ ذَٰلِكَ مِنْ عَزْمِ ٱلْأُمُورِ
O my dear son! Establish worship and enjoin kindness and forbid iniquity, and persevere whatever may befall thee. Lo! that is of the steadfast heart of things.
From the hadith
Each hadith is quoted as stored, with its collection, number and the reference and grade the edition gives.
'Amr bin Shu'aib reported on his father's authority that his grandfather (May Allah be pleased with him) said: Messenger of Allah (ﷺ) said, "Command your children to perform Salat (prayer) when they are seven years old, and beat them for (not offering) it when they are ten, and do not let (boys and girls) sleep together"..
Show the Arabic
وعن عمرو بن شعيب، عن أبيه، عن جده رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : " مروا أولادكم بالصلاة وهم أبناء سبع سنين، واضربوهم عليها، وهم أبناء عشر، وفرقوا بينهم في المضاجع" ((حديث حسن رواه أبو داود بإسناد حسن)).
Further sources
Written for Islamic Portal from the Quran and hadith cited above.
What scholars say
Scholars of the four schools used this hadith as the basis for parents' duty to teach prayer, and set strict limits on any physical discipline: it must be light, not on the face, not out of anger, and only where it is expected to help. Some scholars held that a teacher or parent who causes injury is liable. Contemporary scholars emphasise that the wider Sunnah of gentleness with children shapes how this hadith is applied, and that harshness that drives a child away from prayer defeats its purpose.
In practice
- A family prays Maghrib together every evening, with the eight-year-old taking turns to call the iqamah.
- A mother uses a sticker chart for her seven-year-old's prayers, celebrating each completed week.
- A father practises salah step by step with his son using the interactive salah guide.
Common misunderstandings
- The hadith tells parents to beat children. Scholars understood it as a last resort after years of teaching, with strict limits; many today advise non-physical discipline instead.
- Children must pray five times a day from age seven. Seven is when teaching starts; prayer becomes obligatory at puberty.
- Children will learn at the mosque or school. Classes help, but parents' example at home matters most.
Check your understanding
Try to explain the answer in two sentences, in your own words, as if to a friend. Then read the short answer again and compare.
Suggested lessons
Courses, lessons and guides that teach this topic step by step.
Review and provenance
- Written by
- Islamic Portal editorial team
- Added
- 10 November 2026
Corrections
No corrections have been needed.
