Abdullah bin Umar reported,

The Prophet ﷺ said on the day of Hudaybiyah, "Allah, forgive those who shave their heads."A man asked, "And those who shorten their hair?"He said, "Allah, forgive those who shave their heads."The man asked again, "And those who shorten their hair?"He repeated it three or four times, then finally said, "And those who shorten their hair."

Azami 5194

Sahih

عن ابن عمر

أن النبي ﷺ قال يوم الحديبية: اللهم اغفر للمحلقين فقال رجل: والمقصرين؟ فقال: اللهم اغفر للمحلقين. فقال: والمقصرين؟ قال حتى قالها ثلاثا، أو أربعا، ثم قال: وللمقصرين.

الأعظمي 5194صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Description of the Hajj of the Prophet ﷺ as narrated by Jabir and others, and the rulings mentioned therein
Section
Supplication of the Prophet ﷺ for those who shaved their heads with mercy three times and for those who trimmed once
Numbering
Jami al-Kamil 5194 (2nd edition)
Azami 5194