Question: where does it say in the bible that fornication is a sin?
Answer: To engage in premarital or extramarital sex, before or outside of marriage, is to sin in God's sight. That is precisely the point of Hebrews 13:4, a verse often referred to in this kind of discussion.