Five foreign nationals detained over suspected ISIL links