Home · Praying with a baby, and the masjid
Holding, nursing, crying
Praying with a baby, and the masjid
Can you pray holding your baby? What if the baby cries in the congregation, and may you bring a baby to the masjid at all? The Sunnah and each of the four schools.
With a newborn, prayer rarely happens in a quiet room. The baby wakes as you say Allāhu akbar, wants to be held as you bow, or cries from the back row at Jumuʿah. Many parents wonder whether holding the baby spoils the prayer, and whether a baby belongs in the masjid at all.
The Prophet ﷺ prayed with a little girl on his shoulder, and shortened a congregation’s prayer when he heard a baby cry. This guide sets out those reports, then what each school concluded, including where they are more cautious than parents might expect.
Praying while holding your baby
Abū Qatādah reported that the Messenger of Allah ﷺ would pray carrying his granddaughter Umāmah, the daughter of Zaynab. When he prostrated he put her down, and when he stood he picked her up again (Bukhārī 516; Muslim 543a)1,2. In another narration he came into the masjid carrying her on his shoulder and led the people in prayer that way (Abū Dāwūd 918)3.
Once he made one prostration so long that the people thought something had happened, or that revelation was coming. Afterwards he explained: “My son was riding on my back, and I did not want to hurry him until he had had enough” (al-Nasāʾī 1141)4.
Ibn al-Qayyim gives a chapter to this in his book on the newborn: children may be carried in prayer even when the state of their clothes is not known; small separate movements made for a need do not break the prayer; and the report teaches mercy to children and humility5.
كَانَ يُصَلِّي وَهْوَ حَامِلٌ أُمَامَةَ بِنْتَ زَيْنَبَ بِنْتِ رَسُولِ اللَّهِ صلى الله عليه وسلم وَلأَبِي الْعَاصِ بْنِ رَبِيعَةَ بْنِ عَبْدِ شَمْسٍ، فَإِذَا سَجَدَ وَضَعَهَا، وَإِذَا قَامَ حَمَلَهَا
Arabic copied from sunnah.com
The four schools
The three schools whose passages we read allow carrying a child in prayer. Where they address it, the question is impurity on the child: the Ḥanafīs and Shāfiʿīs say carrying a child with impurity on him affects the prayer. The Ḥanbalī passage we read says carrying a pure living being, or a person who cleaned himself with stones only, does not affect the prayer.
Ḥanafī
If a child with impurity on him sits in your lap and holds himself up, your prayer is valid, since he is carrying it. A baby who cannot hold himself up, such as a nursing infant, is different: the impurity is counted as carried by you. (Ibn ʿĀbidīn notes one scholar who saw no difference between the two.)6
Mālikī
We did not find this question in the Mālikī passages we read. Ask your imam.
Shāfiʿī
Carrying a living child with no impurity on the outside is valid without dispute. Carrying someone with impurity on them, even a pardoned amount, invalidates the prayer on the sounder view; the Umāmah report is understood as her having been clean.7
Ḥanbalī
Carrying a pure living being, or a person who cleaned himself with stones only, does not affect the prayer, because of the Umāmah report; impurity inside the body is in its natural place.8
None of these passages speaks of diapers. If you know the diaper is soiled, change it first, or set the baby down beside you; if you are unsure, ask your imam how your school applies this.
When the baby cries in the congregation
Babies were in the Prophet’s ﷺ masjid, and they cried. He said: “I stand in prayer meaning to make it long, then I hear a baby crying, so I make my prayer short, not wanting to make things hard for his mother” (Bukhārī 707)9. In another wording, he shortened it because he knew how the crying would upset the mother (Bukhārī 709)10.
An imam who shortens the prayer when he hears a baby cry is following the Sunnah9. These reports are about the imam. They do not address a parent who leaves a prayer once it has begun; if that is your question, ask your imam what your school says.
إِنِّي لأَقُومُ فِي الصَّلاَةِ أُرِيدُ أَنْ أُطَوِّلَ فِيهَا، فَأَسْمَعُ بُكَاءَ الصَّبِيِّ، فَأَتَجَوَّزُ فِي صَلاَتِي كَرَاهِيَةَ أَنْ أَشُقَّ عَلَى أُمِّهِ
Innī la-aqūmu fi ṣ-ṣalāti urīdu an uṭawwila fīhā, fa-asmaʿu bukāʾa ṣ-ṣabiyy, fa-atajawwazu fī ṣalātī karāhiyata an ashuqqa ʿalā ummih.
Arabic copied from sunnah.com
Bringing a baby to the masjid
The reports above show young children in the Prophet’s ﷺ masjid. Even so, all four schools are cautious about very young children there. The Ḥanafī and Shāfiʿī books give the risk of the masjid being soiled as the reason, the Ḥanbalī Kashshāf speaks of children who do not yet understand, and the Mālikī books of a child who plays about11,12,13,14.
The often-quoted report “Keep your children away from your masjids” is weak, and some critics call it very weak or fabricated (see below). Ibn ʿĀbidīn cites it for the Ḥanafī ruling11; al-Nawawī gives the risk of soiling as the reason, and says it is not forbidden because the Prophet ﷺ prayed carrying Umāmah12.
The four schools
The schools differ: the Shāfiʿīs dislike bringing children who do not yet understand, but do not forbid it; the Ḥanbalīs say it is sunnah to keep the masjid free of them without a need; the Ḥanafīs forbid it where soiling is likely and otherwise dislike it; the Mālikīs allow it for a child who does not play about or who stops when told.
Ḥanafī
Bringing in young children is forbidden where it is likely they will soil the masjid; otherwise it is disliked.11
Mālikī
It is permitted to bring a child whose way is not to play about, or who stops when told; if neither is true, it is forbidden. (Ibn ʿArafah required both.)14
Shāfiʿī
Disliked to bring children who do not yet discern, since they may soil the masjid; not forbidden, because the Prophet ﷺ prayed carrying Umāmah.12
Ḥanbalī
It is sunnah to keep the masjid free of a young child who does not yet discern, when there is no benefit or need in bringing him.13
Some masjids have a family room or a women’s area set up for babies. Ask your masjid what it prefers, and ask your imam how your school’s ruling applies to a baby in a clean diaper.
Well known, but weak
- The report: “Keep your children and your insane away from your masjids, and your buying and selling, your disputes and raised voices …” (Ibn Mājah 750).15Graded ḍaʿīf: Ibn Ḥajar (Fatḥ al-Bārī 1/654), Ibn Bāz. Very weak: Shuʿayb al-Arnaʾūṭ. Ibn al-Qaṭṭān: one narrator is weak and another a liar. Darussalam (on sunnah.com): mawḍūʿ. Not relied on here.
Practical steps
Most of the time, a baby can be with you while you pray: on a mat beside you, in a bouncer in front of you, or in your arms. Keep the prayer simple and do what the baby needs.
-
Change, then pray
A fresh diaper just before prayer avoids the question of carrying impurity.6,7
-
Pick up and put down
If the baby needs you, you may hold them while standing and set them down to bow and prostrate, as the Prophet ﷺ did with Umāmah.1,5
-
Don’t rush a climbing toddler
If a child climbs on your back in sujūd, there is no need to throw them off: the Prophet ﷺ lengthened his prostration rather than hurry the child.4
-
At the masjid, sit near the door
Sit where you can step out quietly to settle a crying baby before the prayer begins, and use the family room if there is one.
Sources
- Ṣaḥīḥ al-Bukhārī 516 The Messenger of Allah ﷺ would pray carrying Umāmah, the daughter of Zaynab; when he prostrated he put her down, and when he stood he picked her up.
- Ṣaḥīḥ Muslim 543a Abū Qatādah: I saw the Messenger of Allah ﷺ praying while carrying Umāmah; when he stood he picked her up and when he prostrated he put her down.
- Sunan Abī Dāwūd 918 We were sitting in the masjid when the Messenger of Allah ﷺ came carrying Umāmah on his shoulder; he led the people in prayer with her on his shoulder, putting her down when he bowed and lifting her when he rose, until he finished. Grading: ṣaḥīḥ (al-Albānī, as shown on sunnah.com).
- Sunan al-Nasāʾī 1141 Shaddād ibn al-Hād: the Prophet ﷺ came out to one of the evening prayers carrying al-Ḥasan or al-Ḥusayn. He came forward and put him down, then said the takbīr and prayed, and made one prostration very long. Shaddād raised his head and saw the child on the Prophet’s ﷺ back while he was prostrating. Afterwards he explained: “My son was riding on my back, and I did not want to hurry him until he had had enough.” Grading: ṣaḥīḥ: al-Albānī (Ṣaḥīḥ al-Nasāʾī, no. 1140 in his numbering); Darussalam (sunnah.com). al-Ḥākim: ṣaḥīḥ on the conditions of al-Bukhārī and Muslim; al-Dhahabī: isnād jayyid; Shuʿayb al-Arnaʾūṭ: isnād ṣaḥīḥ.
- Ibn al-Qayyim, Tuḥfat al-Mawdūd, ed. al-Arnaʾūṭ, ch. 13, pp. 220–221 Children may be carried in prayer even if the state of their clothes is not known (the Umāmah reports). It answers excessive scruples; separate small movements for a need do not invalidate the prayer; it shows mercy to children and humility; touching a small child does not break wuḍūʾ.
- Ibn ʿĀbidīn, Radd al-Muḥtār (Ḥanafī) 1/317 From al-Fatḥ: the impediment counts only if attributed to the one praying. If a child with impurity sits in his lap, the prayer is valid if the child holds himself up, since the child is the one carrying it; not so a child who cannot, such as a small nursing infant, where it is attributed to him. The author of al-Ḥilyah questioned this, holding that holding himself up makes no difference.
- al-Nawawī, al-Majmūʿ (Shāfiʿī) 3/150–151 Whoever carries a pure living being with no impurity on its outside in prayer, his prayer is valid without dispute (the Umāmah report). Carrying someone who cleaned himself with stones only, or who has a pardoned impurity on him, is invalid on the sounder view; the Umāmah report is understood as her having been washed with water.
- al-Buhūtī, Kashshāf al-Qināʿ (Ḥanbalī), ed. Muṣayliḥī, 1/290 If he carries a pure animal, or a person who cleaned himself with stones only, his prayer is valid, because the Prophet ﷺ prayed carrying Umāmah, and impurity inside an animal or person is in its natural place.
- Ṣaḥīḥ al-Bukhārī 707 “I stand in prayer meaning to make it long, then I hear a baby crying, so I make my prayer short, not wanting to make things hard for his mother.”
- Ṣaḥīḥ al-Bukhārī 709 The Prophet ﷺ shortened the prayer on hearing a baby cry, because he knew how the crying distresses the mother.
- Ibn ʿĀbidīn, Radd al-Muḥtār (Ḥanafī) 1/656 “It is forbidden to bring in children and the insane where it is likely they will soil it; otherwise it is disliked.” Ibn ʿĀbidīn cites the report “keep your children … away from your masjids” (via al-Mundhirī, from al-Baḥr).
- al-Nawawī, al-Majmūʿ (Shāfiʿī) 2/176 al-Mutawallī and others: it is disliked to bring animals, the insane, and children who do not discern into the masjid, since they may soil it; it is not forbidden, because it is established in the two Ṣaḥīḥs that the Prophet ﷺ prayed carrying Umāmah.
- al-Buhūtī, Kashshāf al-Qināʿ (Ḥanbalī), ed. Muṣayliḥī, 2/367 (Bāb al-Iʿtikāf wa-Aḥkām al-Masājid) “It is sunnah that the masjid be kept free of a young child who does not discern, without a benefit or purpose”, and of children raising their voices in play.
- al-Dardīr, al-Sharḥ al-Kabīr, with al-Dasūqī’s Ḥāshiyah (Mālikī) 1/334 It is permitted to bring a child into the masjid whose way is not to play about, or who stops when told; either is enough on the relied-upon view; if neither, it is forbidden. al-Dasūqī: Ibn ʿArafah’s wording requires both.
- Sunan Ibn Mājah 750 “Keep your children and your insane away from your masjids, and your buying and selling, your disputes, your raised voices …” Grading: ḍaʿīf: Ibn Ḥajar (Fatḥ al-Bārī 1/654); Ibn Bāz (Fatāwā Nūr ʿalā al-Darb 11/304); al-Ṣanʿānī (Subul al-Salām 1/248). Very weak: Shuʿayb al-Arnaʾūṭ (Takhrīj Sharḥ al-Sunnah 3/265). Ibn al-Qaṭṭān: al-ʿAlāʾ ibn Kathīr is weak and ʿAbd al-Raḥmān ibn Hāniʾ a liar (al-Wahm wa-l-Īhām 3/189). Darussalam (sunnah.com): mawḍūʿ.
Read next
- Diapers, spit-up and prayerIs a baby’s urine impure, does a boy’s differ from a girl’s, and what about spit-up and dribble on your clothes? The Sunnah and the four schools, for parents who want to pray on time.
- Your baby’s first Ramaḍān and EidFasting while pregnant or nursing in the four schools, Ramaḍān during nifās, zakāt al-fiṭr for a newborn, and how to enjoy your baby’s first Ramaḍān and Eid.
- For mothers: your first forty daysFor the new mother: the rulings of nifās in the four schools, nursing and rest, the warning signs that should not wait, and where to call if your heart grows heavy.
General guidance, not a fatwa. Where the schools differ, each is given from its own books; ask your imam which view your community follows. All sources · Something wrong? Tell us