Shaving one's head

Q: What is the ruling on someone who lets some of their hair grow long but shaves part of their head?

A: All praise be to Allah Alone, and peace and blessings be upon His Messenger, and his family and Companions. It was related by Abu Dawud on the authority of `Abdullah ibn `Umar (may Allah be pleased with him) that: The Messenger of Allah (peace be upon him) forbade Al-Qaza‘ (shaving part of the hair on the head and leaving another part unshaved), and said, “Shave all of it or leave all of it.” The author of [Sharh Al-Iqna‘] said, “Al-Qaza‘ includes shaving parts on the side of the head, shaving the middle and leaving the sides - as most Christians do - shaving the sides and leaving the middle - as many foolish people do - or shaving the front and leaving the back.” Imam Ahmad was asked about shaving the back of the head, and he said, “That is what the Magians do, and whoever imitates a people is one of them.” Accordingly, it is known that it is not permissible to let some parts of the hair grow longer than others.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.