Anas bin Malik reported,

The Prophet ﷺ heard a child crying while he was leading the prayer, so he shortened it. We thought he did so out of compassion for the child, since he knew the child's mother was praying with him.

Ahmad 12955

Sahih

حدثنا محمد بن عبد الله يعني الأنصاري حدثنا حميد

عن أنس قال

سمع النبي ﷺ نداء صبي وهو في الصلاة فخفف فظننا أنه إنما فعل ذلك رحمة للصبي إذ علم أن أمه معه في الصلاة

أحمد 12955صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 12955
Ahmad 12955