BEIJING: Despite Narendra Modi’s hectic efforts at BRICS Summit to brand Pakistan as a terrorist nation, Chinese President Xi Jinping blocked all such attempts to link Islamabad with terrorism.

"China and Pakistan are 'all-weather' friends. India and Pakistan are both victims of terrorism. In combating terrorism, Pakistan has made great sacrifices. This needs to be recognised by the international community," Foreign Ministry spokesperson Hua Chunying said on Monday at a press briefing when asked to respond to Indian PM's comment at the weekend's BRICS Summit.

The international community needs to recognise Pakistan's "great sacrifices" and that it was opposed to "linking terrorism to any one country or religion", she said.

Advising India to solve differences through peaceful means, the spokesperson said “we truly hope they can resolve these differences through dialogue and consultation”.

On Sunday, leaders of China, India, Russia, Brazil and South Africa issued a joint declaration on a range of measures. They also agreed to work together to combat "cross-border" terrorism, but Modi´s guests held off from signing up to his fierce condemnation of India´s arch-rival Pakistan as the "mothership of terrorism".