At least 18 illegal immigrants have been rescued after receiving a tip that they were being held for ransom.