Anas bin Malik reported,

He narrated to him that the Prophet ﷺ said, "I begin the prayer intending to prolong it, but then I hear a child crying, so I shorten my prayer, knowing how distressed his mother becomes at his crying."

Bukhari 709

Sahih

حدثنا علي بن عبد الله قال حدثنا يزيد بن زريع قال حدثنا سعيد قال حدثنا قتادة أن

أنس بن مالك

حدثه أن النبي ﷺ قال إني لأدخل في الصلاة وأنا أريد إطالتها فأسمع بكاء الصبي فأتجوز في صلاتي مما أعلم من شدة وجد أمه من بكائه

البخاري 709صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhan
Chapter
Whoever shortens the prayer when a child cries
Numbering
Darussalam 709
Bukhari 709