Bukhari:V4B55N546 "Allah's Apostle said, 'Gabriel has just now told me of the answer. If a man has sexual intercourse with his wife and gets discharge first, the child will resemble him, and if the woman gets discharge first, the child will resemble her.'"
with his wife and gets discharge first, the child will resemble him, and if the woman gets discharge first, the child will resemble her.'" Tabari I:258 Qur'an 15:26 "