The prime ministers of Pakistan and India have met on the sidelines of a summit in a Russian city. It's a rare meeting between the leaders from two South Asian rivals.

A statement released by Pakistan says Prime Minister Nawaz Sharif met with his Indian counterpart Narendra Modi on Friday at Congress Hall in Ufa, where they are attending the summit of BRICS trade group and the Shanghai Cooperation Organization.

Pakistan says the two leaders will discuss range of issues.

Pakistan and India have long tried to mend their differences without making much progress.

Earlier this week, the two sides exchanged fire near the Pakistani city of Sialkot. Last summer, India called off talks after Islamabad's ambassador in New Delhi met with Kashmiri separatist leaders.