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.'"
English reference: Vol. 1, Book 5, Hadith 989
Arabic reference: Book 5, Hadith 1042