Anas bin Malik (RA) reported the Messenger of Allah (ﷺ) having said: When I begin the prayer I intend to make it long, but I hear a boy crying; I then shorten it because of his mother's feelings.
Hadith ReferenceSahih Muslim / The Book of Prayers / Hadith: 470