Sunan an-Nasa'i, Book 48, Hadith 10 (Nasa'i 5058)

It was narrated from 'Ali:

"The Messenger of Allah forbade women to shave their heads."