The Messenger of Allah ﷺ shaved his head, and a group of his companions also shaved their heads, while others shortened their hair. The Messenger of Allah ﷺ said, "May Allah have mercy on those who shaved their heads," once or twice, then he added, "and those who shortened their hair."
حدثنا هاشم حدثنا ليث حدثنا نافع
حلق رسول الله ﷺ وحلق طائفة من أصحابه وقصر بعضهم فقال رسول الله ﷺ رحم الله المحلقين مرة أو مرتين ثم قال والمقصرين