The formerly close Qatari-Egyptian relationship has soured since the Egyptian army ousted Islamist President Mohamed Mursi, who had been firmly supported by Doha, last July following mass protests against his one-year rule.

Cairo then launched a wide crackdown against Mursi's Muslim Brotherhood group and labeled it a terrorist group last week.

Qatar said on Saturday that the decision to name the Brotherhood a terrorist organisation was "a prelude to a shoot-to-kill policy" against demonstrators who have been staging frequent protests to call for Mursi's reinstatement.

"Egypt reiterates that it will not allow any external party to interfere in its internal affairs under any name or justification," Egypt's Foreign Ministry spokesman Badr Abdelatty said in a statement.

Any country that tried to interfere would have "the responsibility for the consequences," he added of the message given to Qatar's ambassador to Cairo, Saif Moqadam Al-Boenain after the envoy was called in on Saturday.

Egypt accuses Qatar and its Doha-based Al Jazeera television channel of backing the Muslim Brotherhood. Thousands of the Brotherhood's members have been arrested.

Earlier, a Qatari foreign ministry statement said: "The decision to designate popular political movements as terrorist organisations, and labeling peaceful demonstrations as terrorism, did not succeed in stopping the peaceful protests.

"It was only a prelude to a shoot-to-kill policy on demonstrators," the statement published by state news agency QNA said. It said that "inclusive dialogue" between all sides was the only solution to Egypt's crisis.

On Friday, 17 people were shot dead as supporters of the Brotherhood clashed with police across Egypt, defying a widening state crackdown on the movement that ruled the country until six months ago.

Islamists opposed to the army's overthrow of Mursi have been holding daily demonstrations for months.

Last week, Egypt's general prosecutor detained several journalists for 15 days for broadcasting graphics on Al Jazeera, alleging that they damaged Egypt's reputation.

In an interview with Egypt's newspaper Al-Masry Al-Youm in November, Foreign Minister Nabil Fahmi said Al Jazeera was one of the reasons for worsening ties between the two states.

Egypt expelled the Turkish ambassador in November after it accused Ankara of backing organisations bent on undermining the country - an apparent reference to the Brotherhood.

A conservative estimate puts the death toll since Mursi's fall at well over 1,500 people, mainly Brotherhood supporters. About 400 police and soldiers have been killed in bombings and shootings. (Writing by Rania El Gamal in Dubai and Asma Alsharif in Cairo; editing by Ralph Boulton and Alister Doyle)

We welcome comments that advance the story through relevant opinion, anecdotes, links and data. If you see a comment that you believe is irrelevant or inappropriate, you can flag it to our editors by using the report abuse links. Views expressed in the comments do not represent those of the Thomson Reuters Foundation. For more information see our Acceptable Use Policy.

In a camp for displaced Rohingya Muslims residents frequent bamboo “internet huts” where they can communicate with relatives who left the country, escaping the violence that led to 200 deaths and left over 140,000 homeless in 2012