The Messenger of Allah ﷺ forbade qaza (shaving part of a child's head while leaving other parts unshaven).
حدثنا أبو بكر بن أبي شيبة حدثنا شبابة حدثنا شعبة عن عبد الله بن دينار
نهى رسول الله ﷺ عن القزع
No references are available.
Bukhari narrated it in the Book of Clothing, chapter on partial head-shaving (qazaa), hadith no. 5921, from the hadith of Ibn Dinar with this wording, and it is in Musannaf: 8/313.