I sincerely apologize. He does have rights, but first he has to get them legally established.
Go to court and request child support first, then he has to prove he is the father. Then he does have the right to ask for proper visitation in court. He can not ask for full custody of the baby...