Pakistan's prime minister is calling on Iran to use its influence to help bring Yemen's Shiite rebels to the negotiating table on the crisis in their country, where Saudi-led airstrikes have been targeting the rebels for over two weeks.

Nawaz Sharif said in a statement to the media on Monday that he had discussed Yemen in depth with Iran's Foreign Minister Mohammad Javad Zarif who visited Islamabad last week.

Sharif says he told Zarif that the violent overthrow of Yemen's legitimate government by rebels known as Houthis has set a "dangerous precedent."

Pakistan's parliament on Friday voted to stay out of the Yemen conflict and not send troops for the Saudi-led coalition.

Sharif says he condemns the Houthis' power grab and assured Saudi Arabia of Pakistan's support.