夏朝
It was possible the Muslims drove some Uighur Buddhist monks towards taking asylum in the Western Xia dynasty.