AHMAD 12067:
from Nabī Allāh ﷺ —
[Machine] Sa'id, Ibn Ja'far, and Abdul Wahhab al-Khaffaf reported from Sa'id who reported from Qatadah who reported from Anas that the Prophet ﷺ said, "I would enter the prayer and intend to prolong it, but then I would hear the crying of a baby. So, I would shorten my prayer out of knowing the intensity of his mother's worry due to his crying."
أحمد ١٢٠٦٧:
عن نبي الاه ﷺ —
عَنْ سَعِيدٍ وَابْنُ جَعْفَرٍ وَعَبْدُ الْوَهَّابِ الْخَفَّافُ عَنْ سَعِيدٍ عَنْ قَتَادَةَ عَنْ أَنَسٍ أَنَّ نَبِيَّ اللهِ ﷺ قَالَ إِنِّي لَأَدْخُلُ الصَّلَاةَ وَأَنَا أُرِيدُ أَنْ أُطِيلَهَا فَأَسْمَعُ بُكَاءَ الصَّبِيِّ فَأَتَجَاوَزُ فِي صَلَاتِي مِمَّا أَعْلَمُ مِنْ شِدَّةِ وَجْدِ أُمِّهِ مِنْ بُكَائِهِ
hadithunlocked.com