It wasnarrated that Anas bin Malik said:
"The Messenger of Allah(ﷺ)said: 'I start prayer and I want to make it long, but then Ihearan infant crying, so I make my prayer short, because I know thedistress caused to the mother by his crying.'" (JA)
English reference (JA): Vol. 1, Book 5, Hadith 989 (JA)
Arabic reference (JA): Book 5, Hadith 1042 (JA)