This Hadīth indicates the obligation of realizing the child's interest. A woman was separated from her husband and kept the child with her. It was as if something occurred that prevented the woman from keeping the child in her custody, despite of her need for him and of his need for her care and protection, something that the father could not provide. In response to this case, Abu Hurayrah narrated what he had heard from the Prophet (may Allah's peace and blessings be upon him). Custody is a kind of guardianship that is meant to raise the child and fulfill his interests. Before the age of discernment, the child remains with his mother unless she gets married. If the child attains the age of discernment and is capable of managing some of his affairs independently and does not need external help in many things, then the mother and the father have equal rights to the child's custody. The child is then given the choice of joining either of them.