But the prime minister called for "de-escalation from all sides" following the killing in a US airstrike in Iraq on Friday.
Mr Johnson's intervention came as Iraqi MPs called for foreign troops to leave.
And in a separate joint statement, Mr Johnson and his French and German counterparts urged restraint.
French President Emmanuel Macron and German Chancellor Angela Merkel joined the PM in calling on Iran to refrain from further violent action and proliferation.
"The current cycle of violence in Iraq must be stopped," the joint statement, released late on Sunday night, said.
With tensions rising in the region following the drone strike ordered by US President Donald Trump, Iran has responded by vowing revenge and announcing it will no longer abide by the restrictions in its 2015 nuclear deal.
In the statement, the three leaders urged the country to "reverse all measures inconsistent with" the deal.
Meanwhile, Mr Johnson is preparing to assemble key ministers to discuss the spiralling crisis in the Middle East.
The prime minister said he spoke with Mr Trump on Sunday about the assassination of the Iranian general, who spearheaded the country's military operations in the Middle East as head of the elite Quds Force.
Earlier on Sunday, in his first public statement since Soleimani's death, Mr Johnson said the 62-year-old had been "responsible for a pattern of disruptive, destabilising behaviour in the region".
"Given the leading role he has played in actions that have led to the deaths of thousands of innocent civilians and western personnel, we will not lament his death," Mr Johnson said.
"It is clear, however, that all calls for retaliation or reprisals will simply lead to more violence in the region and they are in no one's interest."
Mr Johnson said the UK was in "close contact" with all sides to encourage de-escalation and said Parliament will be updated when it returns on Tuesday.
Iraqi MPs have responded to the drone strike by passing a non-binding resolution calling for an end to the foreign military presence.
Caretaker Prime Minister Adel Abdul Mahdi spoke in favour of US and other foreign forces leaving, although most Sunni and Kurdish MPs boycotted the vote.