F ive times a day, the call to prayer is broadcast from loudspeakers at one of China&rsquo,s largest mosques, in a small, ethnic Hui town in the southwestern border province of Yunnan ( 雲,南, ). Muslim beard types.
Rows of date palms grow in Shadian&rsquo,s Harmony Square, in front of the prayer hall, while two Chinese-style archway gates, engraved with the characters for &ldquo,love the country&rdquo, and &ldquo,love the religion&rdquo,, stand on either side of it.
In the late afternoon, swarms of students emerge from a private Islamic college and head towards the mosque to perform their fourth prayer of the day.
Outside, a group of Hui tourists speaking with a northern accent &ndash, women in black robes and men in white caps &ndash, take turns posing for photographs with the giant mosque behind them.
While the Chinese government has cracked down on religious activities among the Muslim Uygur community in Xinjiang ( 新,疆, ), citing the threat of Islamic extremism, ethnic Hui Muslims more closely integrated with Han Chinese society have been able to enjoy much greater religious freedom.
However, growing Islamophobia in China has seen both groups targeted by online attacks at a time when anti-Muslim rhetoric is on the rise across the world.
With the country&rsquo,s top leaders repeatedly warning of the dangers of radical Islam, increasing levels of online hate speech are fuelling concerns that the heavy controls in Xinjiang could be extended to the Hui community in Yunnan.
In Shadian, street signs are in Chinese, English and Arabic. Hotels, shops and restaurants have dome-shaped front doors. And banners carrying verses from the Koran hang above an outdoor halal food court.
During the Cultural Revolution, the People&rsquo,s Liberation Army killed more than 1,000 Hui in Shadian during a crackdown on believers.
After China&rsquo,s opening up, the government paid compensation and many Hui became rich working in the area&rsquo,s copper, lead and zinc mines.
Except for its bloody history and exotic appearance, Shadian, home to about 15,000 Muslims, is little different from most rapidly developing Chinese towns.
Most of China&rsquo,s 10 million Hui Muslims are well assimilated with the Han population, and have thus gained the trust of the officially atheist Communist Party. They speak Chinese, look indistinguishable from the Han and live in communities scattered throughout the country.
Shadian residents today speak of their religious links with the Middle East, but they also exhibit strong patriotism and identify with Han culture.
Ma Feixiang, 45, who runs a pottery workshop on Muslim Avenue, has built an exhibition garden to honour the Hui Muslims who &ldquo,contributed to the rise of the Chinese nation&rdquo,.
The walls of the garden are decorated with the nameplates of Zheng He, a Ming-dynasty mariner who made voyages to Africa and Arabia, Mi Fu, a Song-dynasty calligrapher, and Mu Qing, the former head of the state-run Xinhua News Agency.
Muslim beard styles
&ldquo,Islamic teaching tells us to love our country,&rdquo, Ma said. &ldquo,We are all looking forward to the rise of greater China.&rdquo,
In contrast to the Hui, the Uygurs, another Muslim ethnic minority numbering about 10 million, have been treated with suspicion by the party because of their Turkic roots and their concentration in the far northwestern region of Xinjiang.
Beijing has blamed Islamic militants and separatists for violence in Xinjiang that has killed hundreds in recent years. Strict controls on religious practice have been imposed as part of a counterterrorism campaign.
Beards for men and head coverings for women, deemed &ldquo,abnormal religious clothing&rdquo,, have been banned.
Students and teachers were forbidden from fasting for the holy month of Ramadan last year, according to overseas media reports, and under education rules enacted last year parents or guardians should not compel children to attend religious activities.
In comparison, back in Yunnan, it is common practice for Muslim parents to have their children attend private tutoring in Islam provided by mosques.
With Chinese universities banned from teaching theology, wealthy Hui families even send their children to receive Islamic education in countries such as Saudi Arabia, Malaysia and Pakistan.
In the provincial capital of Kunming ( 昆,明, ), 11-year-old Ma Xiaowu, who was playing smartphone games in the yard of a mosque, said he went to study the Koran at a local mosque every summer.
&ldquo,During Ramadan, my Han classmates ask me why I don&rsquo,t eat,&rdquo, he said. &ldquo,I will tell them it is my faith.&rdquo,
After knife-wielding Uygurs killed 31 people at Kunming&rsquo,s main railway station in 2014, almost all Uygurs were expelled from Yunnan.
The city also stepped up security controls, deploying armed police to guard public squares and sending officers to mosques during Friday prayers. Locals said the measures targeted Uygurs and seldom touched local Hui. A security guard at a Kunming mosque said he had been tasked with watching out for &ldquo,extremists who come to cause damage&rdquo,, but that nowadays his main task involved stopping people from taking pets inside.
Meanwhile, a tour guide who organises trips for Muslims to experience the &ldquo,Islamic atmosphere&rdquo, of Yunnan, and Shadian in particular, said authorities only intervened when the visitors were Uygurs.
&ldquo,We have to hand in their ID information and itinerary,&rdquo, he said. &ldquo,Sometimes police officers visit them in hotels. It does not happen if the tourists are Hui or Kazakh Muslims.&rdquo,
Although the authorities currently treat Hui and Uygurs in very different ways, many Han Chinese have come to view both groups as potentially threatening.
Internet users often blame regional governments for failing to rein in what they say is a dangerous religion.
In one high-profile incident, a 33-year-old Beijing man surnamed Zhang launched an anti-halal food campaign online, saying it was an attempt to stop the spread of Islamic extremism in China.
When asked about his definition of extremism, Zhang showed an image of the five types of religious attire that have been banned in a Xinjiang city, including head-coverings for women, long beards and clothing featuring the star-and-crescent pattern.
&ldquo,This is what is being done to combat terrorism in Xinjiang, but inland [governments] are not paying attention,&rdquo, he said.
On the popular search engine Baidu.com, the most frequently searched phrases about Shadian include &ldquo,don&rsquo,t go to Shadian&rdquo, and &ldquo,Shadian Islamic state&rdquo,, according to the Baidu Index, which tracks web search trends.
On the Quora-like website Zhihu.com, photos of women dressed in black robes and veils in Shadian sparked a wave of Islamophobic comments, with users questioning why the counterterrorism measures in Xinjiang had not been implemented in the rest of the country.
&ldquo,Why does the government turn a blind eye to all this?&rdquo, one comment read.
&ldquo,In Xinjiang, these people would be arrested within minutes,&rdquo, said another. &ldquo,The Yunnan government is too lenient.&rdquo,
Hui Muslims in Yunnan have become frustrated by the hostility. Government officials in Shadian even ask reporters not to write anything about the place &ndash, good or bad &ndash, citing the subsequent hateful comments that &ldquo,would hurt local people&rdquo,.
James Leibold, an expert on China&rsquo,s ethnic politics at La Trobe University in Australia, said the fact the online attacks were not censored by China&rsquo,s otherwise highly efficient internet authorities reflected a distrust of Islam within the country&rsquo,s leadership, making the Hui vulnerable to future crackdowns on their religious practices.
&ldquo,People are whipping up that concern on social media,&rdquo, he said. &ldquo,It can put pressure on policymakers at the local level to make sure they have a firm grip.&rdquo,
Freedom of belief is enshrined in China&rsquo,s constitution, but the party keeps religious activities under tight control and allows only officially recognised religious institutions to operate.
Last year senior officials, including President Xi Jinping ( 習,近,平, ), warned against &ldquo,religious extremism&rdquo, and &ldquo,overseas infiltration through religious means&rdquo,.
But Leibold said it took time for such initiatives to reach places like Yunnan, a province far from the political centre with a long history of multiculturalism and ethnic autonomy.
Muslim beard shape
&ldquo,The party-state is moving to have more uniform implementation of policies... very likely this surveillance society that has been created in Tibet ( 西,藏, ) and Xinjiang will be extended into Hui areas,&rdquo, he said.
For now, life goes on as usual in Kunming, with Muslims and non-believers living peacefully together, and the provincial government hailing its victory in forging ethnic unity.
Every morning, children wearing the red scarves of the Young Pioneers &ndash, a youth organisation run by the Communist Party &ndash, walk through the yard of the Shuncheng Mosque in Kunming to a primary school next door.
At lunchtime, halal restaurants selling beef buns and Yunnan rice noodles are packed with office workers, many of them non-Muslim Han people.
Even mosques have open canteens on the first floor serving both Muslims and non-believers. Prayers are performed on the second floor.
However, the Uygurs who once sold fruits and nuts from Xinjiang are missing from the busy Muslim quarter.
Retired truck driver Xie Huarong, 65, who was playing with his one-year-old granddaughter outside the Hui quarter, said he used to buy melons from the Uygurs.
&ldquo,I never felt they were dangerous,&rdquo, he said.
Ma Tao, a 30-year-old Hui Muslim who runs a halal bakery outside the Shuncheng Mosque, said he often prayed with Uygurs in the mosque before their expulsion following the 2014 train station attack.
&ldquo,It was such a stupid decision to force them to leave,&rdquo, he said. &ldquo,The Uygurs I met were extremely nice. We share the same belief. &rdquo,
Those sentiments were shared by Imam Yang, the owner of a shop selling women&rsquo,s headscarves.
&ldquo,[The Uygurs] all envy the peaceful life we have here,&rdquo, he said.