Foreign unity required against terrorism, PM