The Prophet ﷺ forbade qazaa, the practice of shaving part of a child's head and leaving other parts unshaven.
أخبرنا أحمد بن عبدة قال أنبأنا حماد قال حدثنا عبيد الله عن نافع
أن النبي ﷺ نهى عن القزع
No references are available.
Its isnad is sahih, mentioned previously, no. 5054. Hammad is Ibn Zayd.