The Messenger of Allah ﷺ would listen to the crying of a lad in the company of his mother, in prayer, and he would recite a short surah or a small surah.
أَنَسٌ كَانَ رَسُولُ اللَّهِ ﷺ يَسْمَعُ بُكَاءَ الصَّبِيِّ مَعَ أُمِّهِ وَهُوَ فِي الصَّلاَةِ فَيَقْرَأُ بِالسُّورَةِ الْخَفِيفَةِ أَوْ بِالسُّورَةِ الْقَصِيرَةِ