Responding to this issue, would like to cite the response of Dr. `Abdul Fattah Idrees who said:

“Children born as a result of illicit sexual intercourse are to be attributed to their mothers and hold their surnames. Only if the fornicating man marries the fornicating woman and he admits the child to be his, then the child can bear his surname.”