Its not a sin if you're married to the person you're doing it with. However if you're married and sleeping with someone that isnt your spouse or doing it before your married then some do call that a sin.