A custom observed by the Arabs on the birth of a child; namely, leaving the hair on the infant’s head until the seventh day, when it is shaved and animals are sacrificed, namely, two sheep for a boy and one for a girl. (Mishkat, xviii. c. 3). It is enjoined by Muslim law, and observed in all parts of Islam.
Based on Hughes, Dictionary of Islam