[Machine] The Messenger of Allah ﷺ shaved his head, and a group of his companions also shaved theirs, while some of them merely shortened their hair. Ibn Umar said, "Indeed, the Messenger of Allah ﷺ said, 'May Allah have mercy on those who shave their heads once or twice.' Then he said, 'And may Allah have mercy on those who only shorten their hair.'"
حَلَقَ رَسُولُ اللهِ ﷺ وَحَلَقَ طَائِفَةٌ مِنْ أَصْحَابِهِ وَقَصَّرَ بَعْضُهُمْ فَقَالَ ابْنُ عُمَرَ ؓ إِنَّ رَسُولَ اللهِ ﷺ قَالَ رَحِمَ اللهُ الْمُحَلِّقِينَ مَرَّةً أَوْ مَرَّتَيْنِ ثُمَّ قَالَ وَالْمُقَصِّرِينَ