The 7-7-7 Parenting Rule: Is It Islamic? What It Gets Right
Play for seven, teach for seven, befriend for seven: where the 7-7-7 parenting saying comes from, whether it is authentic, and what it gets right.
In this guide
You have probably seen it on a graphic shared in a family WhatsApp group, with soft pastel colours and a name underneath: “Play with your child for seven years, teach them for seven years, and befriend them for seven years.”
It sounds wise. It feels Islamic. Many parents assume it is a hadith. This guide looks honestly at where it comes from, what the authentic texts actually say about children’s ages, and why the idea is still worth something, as long as you hold it lightly.
The saying everyone shares
The popular version has three stages:
| Ages | What the saying suggests |
|---|---|
| 0–7 | Play with them. Let them be children. |
| 7–14 | Teach and discipline them. |
| 14–21 | Befriend them. Become their adviser. |
Other versions swap the words: “a master for seven, a servant for seven, a minister for seven”, or “play for seven, Qur’an for seven, halal and haram for seven”. It is usually credited to ʿAli ibn Abi Talib (RA), sometimes to “the Prophet ﷺ”, and often to no one at all.
Where it actually comes from
This is where honesty matters.
- Not in the Sunni hadith collections. The play-teach-befriend wording is not found with a sound chain in Bukhari, Muslim, Abu Dawud, Tirmidhi, Nasa’i or Ibn Majah. It is not a hadith in the sense most Sunni parents mean.
- Shi’i collections have several versions. The best-known is attributed to Imam Jaʿfar al-Sadiq in Man La Yahduruhu al-Faqih: a child is left to play for seven years, disciplined for seven, and kept close for seven. The same chapter has a similar saying attributed to ʿAli (RA): nurtured for seven, disciplined for seven, given responsibility for seven. Other compilations give still other wordings, and Shi’i hadith researchers themselves have noted that some versions are weak.
- So the ʿAli (RA) attribution comes through Shi’i chains, with wording different from the social-media version. The neat “play, teach, befriend” lines usually come with no source at all.
If you want to dig deeper into the different narrations, ask a scholar you trust. For everyday parenting, the key point is simple: we should only say “the Prophet ﷺ said” when we are sure he did.
What the authentic texts do say
The sound hadith give us a few clear age markers, and they are fewer and more specific than the 7-7-7 graphic suggests.
Seven: salah begins. Ten: separate beds.
Evidence · Hadith
مُرُوا أَوْلاَدَكُمْ بِالصَّلاَةِ وَهُمْ أَبْنَاءُ سَبْعِ سِنِينَ وَاضْرِبُوهُمْ عَلَيْهَا وَهُمْ أَبْنَاءُ عَشْرِ سِنِينَ وَفَرِّقُوا بَيْنَهُمْ فِي الْمَضَاجِعِ
“Command your children to pray when they are seven years old, and strike them for it when they are ten, and separate them in their beds.”
We quote the hadith in full because parents deserve to see it. Classical scholars placed strict limits on the word “strike”: never the face, never in anger, nothing that hurts or marks, and only after three years of patient teaching. Many contemporary scholars read it as showing the seriousness of salah rather than as an instruction to hit. Rahmly does not recommend hitting children for any reason. Our guide to what the salah-at-seven hadith means today goes through this carefully.
Puberty: accountability begins.
Evidence · Hadith
رُفِعَ الْقَلَمُ عَنْ ثَلاَثَةٍ عَنِ الصَّبِيِّ حَتَّى يَبْلُغَ وَعَنِ النَّائِمِ حَتَّى يَسْتَيْقِظَ وَعَنِ الْمَعْتُوهِ حَتَّى يَبْرَأَ
“The pen is lifted from three: from the child until he reaches puberty, from the sleeper until he wakes, and from the one who has lost his reason until he recovers.”
Notice that puberty is not a fixed birthday. It might come at ten or at fifteen. The authentic framework is tied to your child’s actual development, not to a neat multiple of seven.
What the idea gets right
Even without a chain, the 7-7-7 saying captures something true about how children grow. Child-development research and everyday experience point the same way.
- Early years: connection first. The Harvard Center on the Developing Child describes how babies and young children build their brains through “serve and return”: you respond warmly to their babbles, looks and gestures, again and again. Play is not time off from learning. It is the learning. (See play and serve-and-return.)
- Middle childhood: ready for structure. From around seven, children can follow routines, remember steps and enjoy mastering skills. That is exactly when the sunnah asks us to begin salah.
- Adolescence: from director to adviser. Teenagers need more say over their own lives. Parents who shift from giving orders to talking things through tend to stay closer. (See parenting 16–18: from guide to friend.)
Where it misleads
Taken too literally, the saying can push parents in unhelpful directions.
- It is not “no rules before seven.” Toddlers still need limits, safety and gentle teaching. A four-year-old can learn Bismillah, saying salaam and not hitting their sister. Play-based doesn’t mean boundary-free.
- It is not “teaching starts at seven.” Children start learning about Allah, duas and manners long before seven, by watching you.
- It is not “strict from seven to fourteen.” Nothing in the authentic texts asks you to turn cold or harsh at seven. Mercy runs through every age.
- It is not “hands-off after fourteen.” Teens still need clear values, supervision online, and a parent who notices. Friendship sits alongside parenting; it doesn’t replace it.
- Children don’t change on their birthdays. A sensitive eight-year-old may need more play; a mature twelve-year-old may need more trust.
A better map
Rather than three big blocks, Rahmly follows your child through seven smaller Stages, each matched to how children actually develop and to the age markers in the authentic texts.
| Rahmly Stage | Focus | Lines up with |
|---|---|---|
| Pregnancy & Newborn | Dua, the mother’s wellbeing, newborn sunnahs | — |
| 0–2 | Love, safety, first words, Allah’s name in daily life | “Play” |
| 3–6 | Wonder, imitation, short surahs, first duas, manners through play | “Play” |
| 7–9 | Salah begins gently, first practice fasts | Abu Dawud 495 (seven) |
| 10–12 | Preparing for puberty, privacy, separate beds | Abu Dawud 495 (ten) |
| 13–15 | Identity, responsibility, accountability | Puberty (Abu Dawud 4402) |
| 16–18 | From guide to friend | “Befriend” |
For the full picture of each Stage, read Islamic parenting, age by age.
The 7-7-7 saying is a pleasant rule of thumb. The sunnah gives us something richer: mercy at every age, a handful of clear markers, and the freedom to meet the child in front of you.
Questions parents ask
Is the 7-7-7 rule a hadith?
No. It is not found with a sound chain in the Sunni hadith collections such as Bukhari, Muslim, Abu Dawud or Tirmidhi. Versions of a seven-year scheme appear in Shi'i collections, mostly attributed to Imam Jaʿfar al-Sadiq. Treat it as Parenting Wisdom, a helpful way of thinking, not as the words of the Prophet ﷺ.
Did Ali ibn Abi Talib say play with your child for seven years?
The saying is widely shared online with his name on it, but usually with no source at all. Shi'i collections attribute a related saying to him (nurture for seven, discipline for seven, give responsibility for seven) and a similar one to Imam al-Sadiq. Neither is found with a sound chain in the Sunni collections, and the popular play-teach-befriend wording has no verified chain from ʿAli (RA). A scholar you trust can tell you more about the different versions.
What should I teach my child before age seven?
Plenty, gently: love of Allah, Bismillah and short duas, a first surah, good manners such as salaam and saying thank you, and joining in with salah for fun. The early years are not 'no teaching'; they are teaching through play, example and warmth rather than drills.
Sources
- Sunan Abi Dawud 495, salah at seven and separate beds at ten (sunnah.com)
- Sunan Abi Dawud 4402, the pen is lifted from the child until puberty (sunnah.com)
- Man La Yahduruhu al-Faqih, chapter on disciplining and testing a child (thaqalayn.com)
- 5 Steps for Brain-Building Serve and Return, Harvard Center on the Developing Child
Written by the Rahmly team from the sources above. Our Reviewers’ sign-off for this guide is still in progress. For rulings about your own family, ask a scholar you trust.