'Amr b. Shu'aib, on his father's authority, said his grandfather told that God’s messenger was asked about the ‘aqiqa and replied, “God does not like the breaking of ties (‘uquq),” as though he disliked the name. And he said, “If anyone has a child born to him and wishes to offer a sacrifice on its behalf, he may offer two sheep for a boy and one for a girl.
When a boy was born to one of us in the pre-Islamic period he sacrificed a sheep and smeared his head with its blood; but when Islam came we sacrificed a sheep on the seventh day, shaved his head and smeared it with saffron.
Abu Dawud transmitted it, and Razin added, “and gave him his name.”