How did Muslim law affect individual Islamic states?