Hazrat Mujahid says that when a girl reaches puberty, her prayer will not be valid without a head covering (dupatta).