A man has been convicted of rape for taking off a condom during sex without telling his partner.