The Prophet (peace and blessings be upon him) said: "The child born of fornication is the worst of the three."