The Bai-speaking Hui people argue that they have Hui origins since their ancestors were Hui refugees in Bai after the Panthay Rebellion .
A small Muslim minority among Yunnan 's Bai people are classified as Hui as well ( even if they are Bai speakers ) , The Bai-speaking Hui typically claim descent of Hui refugees who fled to Bai areas after the defeat of the Panthay Rebellion , and have assimilated to the Bai culture since as are some groups of Tibetan Muslims.
Hui people