Ankara and Washington are locked in a furious row over Turkey‘s detention of American evangelical pastor Andrew Brunson.
Mr Trump has exacerbated the feud by doubling steel and aluminium tariffs on Turkey, plunging the country into economic turmoil.
The Turkish lira has collapsed in value over the past week, losing 10 percent against the dollar yesterday alone.
Mr Khan today waded into the spat by saying Pakistan is “praying for Turkey’s success in dealing with the server economic challenges”.
In a tweet, the Pakistani politician added: “The people of Turkey have always succeeded against adversities in their glorious history.”
His comments are likely to engage White House chief Donald Trump, who is notoriously temperamental.
Pakistan’s Foreign Ministry doubled down on the support for Turkey by attacking Washington’s sanctions.
A spokesman said: “Pakistan, in principle, is opposed to the imposition of unilateral sanctions against any country.
Imran Khan risked angering Donald Trump by siding with Turkey
“The solution to any and all issues should lie in dialogue, mutual understanding and goodwill.
“Pakistan acknowledges and greatly appreciates Turkey’s invaluable role towards regional and international peace and stability.”
Turkey’s economic woes have worsened by concerns over president Recep Tayyip Erdogan‘s leadership.
Mr Erdogan – who was re-elected for a third term in June – has threatened to curb the independence of Turkey’s central bank.
Mr Khan said Turkey had ‘always succeeded against adversities’ in its history
He sought to tighten his grip on power after controversially abolishing the post of Prime Minister.
Away from the lira, most of the fallout from the financial crisis has been seen in European markets and in banks exposed to Turkey.
Fiona Cincotta, senior market analyst at City Index, said: “Fears of contagion from Turkey’s precarious financial position have been weighing on European markets which are more exposed to Turkey than the US.
“The banking sector on the FTSE and across Europe has been hardest hit, particularly BBVA, BNP Paribas and Unicredit banks which have the greatest exposure to Turkish debt and loans.”