Muwatta Malik, Book 20, Hadith 892 (In-Book)

Yahya related to me from Malik from Nafi from Abdullah ibn Umar that the Messenger of Allah, may Allah bless him and grant him peace, said, "O Allah, have mercy on those who shave their hair." They said, "And those who shorten (their hair), Messenger of Allah." He said, "O Allah, have mercy on those who shave." They said, "And those who shorten, Messenger of Allah." He said, "And those who shorten."

حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ اللَّهُمَّ ارْحَمِ الْمُحَلِّقِينَ ‏"‏ ‏.‏ قَالُوا وَالْمُقَصِّرِينَ يَا رَسُولَ اللَّهِ ‏.‏ قَالَ ‏"‏ اللَّهُمَّ ارْحَمِ الْمُحَلِّقِينَ ‏"‏ ‏.‏ قَالُوا وَالْمُقَصِّرِينَ يَا رَسُولَ اللَّهِ ‏.‏ قَالَ ‏"‏ وَالْمُقَصِّرِينَ ‏"‏ ‏.‏

sunnah.com

also referenced under: Book 20, Hadith 193 (USC-MSA)