Sunan Ibn Majah, Book 25, Hadith 163 (Ibn Majah 3046)

It was narrated from Ibn ‘Umar that the Messenger of Allah (ﷺ) said:

“May Allah have mercy on those who shave (their heads).” They said: “And those who cut (their hair), O Messenger of Allah!” He said: “May Allah have mercy on those who shave (their heads).” They said: “And those who cut (their hair), O Messenger of Allah!” He said: “May Allah have mercy on those who shave (their heads).” They said: “And those who cut (their hair), O Messenger of Allah!” He said: “And those who cut (their hair).”