[Machine] On the authority of the Prophet ﷺ , he said: "When one of you prays among the people, let him shorten it, for among them there may be sick and weak. But when one of you prays for himself, let him prolong it as much as he wishes." In another narration by Ash-Shafi'i, it is reported that the Messenger of Allah ﷺ said: "When one of you prays for the people, let him shorten it, for among them there may be sick and weak. But when one of you prays for himself, let him prolong it as much as he wishes."
عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ إِذَا صَلَّى أَحَدُكُمْ بِالنَّاسِ فَلْيُخَفِّفْ فَإِنَّ فِيهِمُ السَّقِيمَ وَالضَّعِيفَ وَالْكَبِيرَ وَإِذَا صَلَّى أَحَدُكُمْ لِنَفْسِهِ فَلْيُطَوِّلْ مَا شَاءَ وَفِي رِوَايَةِ الشَّافِعِيِّ أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِذَا كَانَ أَحَدُكُمْ يُصَلِّي لِلنَّاسِ فَلْيُخَفِّفْ فَإِنَّ فِيهِمُ السَّقِيمَ وَالضَّعِيفَ فَإِذَا كَانَ يُصَلِّي لِنَفْسِهِ فَلْيُطِلْ مَا شَاءَ