The Messenger of Allah ﷺ forbade qazaa.Someone asked, "What is qazaa?"He replied, "That part of a boy's head be shaved while another part is left unshaved."
حدثنا أبو بكر بن أبي شيبة وعلي بن محمد قالا حدثنا أبو أسامة عن عبيد الله بن عمر عن عمر بن نافع عن نافع
نهى رسول الله ﷺ عن القزع قال وما القزع قال أن يحلق من رأس الصبي مكان ويترك مكان
Bukhari narrated it in the Book of Dress, Chapter on Qaza, hadith: 5920, from the hadith of Umar bin Nafi, and Muslim narrated it in the Book of Dress, Chapter on the dislike of Qaza, hadith: 2120, from the hadith of Ubaydullah bin Umar.