Former Foreign Office minister Baroness Warsi has been rebuked by her successor for remarks that could have hinted there was a comparison between Britons fighting in Kashmir and Syria.

Baroness Anelay of St Johns, who took over at the Foreign Office when Lady Warsi resigned in the summer in protest at the Government's Middle East policy, said she hoped the Tory peer was "not trying to draw any parallel".

The spat came at question time in the House of Lords as Lady Anelay faced questions on the troubled Kashmir region.

Lady Anelay told peers: "Our long-standing position is that it is for India and Pakistan to find a lasting resolution which takes into account the wishes of the Kashmiri people.

"It is not for the United Kingdom to describe a solution or to mediate in finding one."

Lady Warsi asked her: "Given Britain's neutral position in this matter, what is the Government's position on the role of British nationals of Pakistani origin fighting in the Pakistani army and British nationals of Indian origin fighting in the Indian army?"

Lady Anelay replied: "The position of the British Government on those who decide to take up arms overseas is determined on a case-by-case basis. Clearly, British nationals have a right to travel overseas.

"You ask the question against the background of the severe situation in Syria and Iraq, and I assume you are not in any way trying to draw a parallel between British people who are engaged in any activities in India or Pakistan or the Indian-administered part of Kashmir or the Pakistan-administered part of Kashmir.

"I hope you are not trying to draw any parallel between those people and those who are engaged in the horrific activities in Syria and Iraq."

Lady Warsi said later on Twitter that her question was "v clear" so she failed "to understand the presumption made by" Lady Anelay.

The exchange comes after Lady Warsi this week sent a flurry of tweets following the brutal murder of four rabbis in a Jerusalem synagogue.

Baroness Warsi was criticised after comparing the killings to tensions at a Muslim holy site.

She appeared to suggest the brutal murders had happened as a result of Israel's actions at the Al Aqsa Mosque compound, which was blocked to Palestinians in recent weeks following clashes.

Lady Warsi said on Twitter: "Israeli extremists storm Al Aqsa & intimidate worshippers. Palestinian extremists storm synagogue & kill 4 worshippers.''

In response to another tweeter, she wrote: ''r u suggesting there is NO link (nt justification) between murders in the synagogue & the weeks of intimidation & attacks.''

The comments provoked a backlash and were quickly condemned by Grant Shapps, who replaced Lady Warsi as Conservative Party chairman in 2012.