Mohammed bin Salman, Saudi Arabia’’s crown prince, on Friday defended China’s use of concentration camps for Muslims, saying it was Beijing’s “right”.

"China has the right to carry out anti-terrorism and de-extremisation work for its national security,” Prince Mohammed, who has been in China signing multi-million trade deals much to the annoyance of his Western allies, was quoted as saying on Chinese state television.

Xi Jinping, China’s leader, told the crown prince the two countries must strengthen international cooperation on de-radicalisation to “prevent the infiltration and spread of extremist thinking”.

China has detained an estimated one million Uighur Muslims in concentration camps, where they are undergoing re-education programmes allegedly intended to combat extremism.

The Uighur are an ethnic Turkic group that practices Islam and lives in Western China and parts of Central Asia.

Beijing has accused the minority in its Western Xinjiang region of supporting terrorism and implemented a surveillance regime.

Uighur groups had appealed to Saudi’s powerful young prince to take up their cause, as the ultraconservative kingdom has traditionally been a defender of the rights of Muslims worldwide.

But Muslim leaders have so far not broached the issue with China, which has in recent years become an important trading partner with the Middle East.