In Igbo culture, a child born out of wedlock belongs to the girl's family and whoever marries her later, may have the child if he desires, otherwise, he/she remains with his/her mother's family.
But in Urhobo and Yoruba, the child belongs to the man whether married or not.
I hope I am correct
Hmmn. . . . .in Edo, and Yoruba, the child belongs to the man,
only if he accepts paternity of the child.
In parts of the Niger-Delta e.g. among the Nembe, the child belongs to the woman's family as a number of villages in that area are matrilineal.
Among some Northern tribes, the child belongs to the man's family if he declares himself to be the father.