A Sudanese man who was given leave to remain in the UK until 2028 has been arrested on suspicion of attempted murder.