President Cyril Ramaphosa has assured investors the expropriation of land without compensation will be done within the confines of the law.