Answered by Ustadha Shazia Ahmad
When to shave the head of the newborn?
In the name of Allah, Most Compassionate, Most Merciful,
It says in the Reliance of the Traveller (j15.1),
It is recommended for anyone to whom a child is born to shave its hair on the seventh day thereafter (O: meaning any newborn, whether male or female: a baby girl should also have her hair shaved) and give away in charity gold or silver equal to the weight of the hair.
And Allah knows best.