Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:376Qutaybah > Marwān b. Muʿāwiyah al-Fazārī > Ḥumayd > Anas b. Mālik

Messenger of Allah said: "Indeed I hear the crying of a small boy while I am in Salat, so I shorten it in fear that his mother may be tormented."  

الترمذي:٣٧٦حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا مَرْوَانُ بْنُ مُعَاوِيَةَ الْفَزَارِيُّ عَنْ حُمَيْدٍ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ وَاللَّهِ إِنِّي لأَسْمَعُ بُكَاءَ الصَّبِيِّ وَأَنَا فِي الصَّلاَةِ فَأُخَفِّفُ مَخَافَةَ أَنْ تُفْتَتَنَ أُمُّهُ قَالَ وَفِي الْبَابِ عَنْ أَبِي قَتَادَةَ وَأَبِي سَعِيدٍ وَأَبِي هُرَيْرَةَ  

قَالَ أَبُو عِيسَى حَدِيثُ أَنَسٍ حَدِيثٌ حَسَنٌ صَحِيحٌ

See similar narrations below:

Collected by Suyūṭī
suyuti:8178a
Request/Fix translation

  

السيوطي:٨١٧٨a

"إِنِّى لأَكُونُ فِى الصَّلَاةِ فَاسْمَعُ بُكَاءَ الصَّبىِّ فَأُخَفِّفُ مَخَافَةَ أَنْ أشُقَّ عَلَى أُمِّهِ -أوْ قَال: أَنْ تُفْتَن أُمُّهُ".  

[ش] ابن أبى شيبة عن أَبى سعيد"