Sahih al-Bukhari, Book 10, Hadith 104 (Bukhari 692)

Narrated Anas bin Malik:

The Prophet (ﷺ) said, "When I start the prayer I intend to prolong it, but on hearing the cries of a child, I cut short the prayer because I know that the cries of the child will incite its mother's passions."