An asylum seeker has been jailed for 10 years for raping a teenage girl.