Legitimacy of child how proved?

Legitimacy, in Islamic Law, is the status of a child born to parents who are legally married to each other, and of a child conceived before the parents obtain a legal divorce. Conversely, illegitimacy (or bastardy) has been the status of a child born outside marriage, such a child being known as a bastardlove child, or illegitimate when such a distinction has been made from other children.

Depending on local legislation, legitimacy can affect a child's rights of inheritance to the putative father's estate and the child's right to bear the father's surname or hereditary title. Illegitimacy has also had consequences for the mother's and child's right to support from the putative father.