Sunan Ibn Majah, Volume 2, Book 5, Hadith 989 (DarusSalam) ⓘ
It was narrated that Anas bin Malik said: “The Messenger of Allah said: ‘I start prayer and I want to make it long, but then I hear an infant crying, so I make my prayer short, because I know the distress caused to the mother by his crying.’”
حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا عَبْدُ الأَعْلَى، حَدَّثَنَا سَعِيدٌ، عَنْ قَتَادَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " إِنِّي لأَدْخُلُ فِي الصَّلاَةِ وَأَنَا أُرِيدُ إِطَالَتَهَا فَأَسْمَعُ بُكَاءَ الصَّبِيِّ فَأَتَجَوَّزُ فِي صَلاَتِي مِمَّا أَعْلَمُ لِوَجْدِ أُمِّهِ بِبُكَائِهِ " .
also referenced under: Hadith 989 (Reference) & Book 5, Hadith 1042 (In-Book)