how a british market was inspired by the islamic model of medina