Jordanian Foreign Minister Ayman Safadi previously recalled the ambassador in Israel, Ghassan Majali, for consultations over the illegal detention of two citizens of the kingdom in Israel.
"Jordan will send its ambassador to Israel in the coming days after an agreement was reached between the countries for the transferring of the responsibility of the two arrested Jordanians in Israel to the Jordanian security forces," the office said in a statement.
According to the statement, Israel considers the relationship between Jordan and Israel as a cornerstone of regional stability and will continue to act to ensure the region's security.
The Jordanian foreign minister earlier stressed that Israel was completely responsible for the deteriorating health of the detainees. He also added that Jordan will take all legal and diplomatic measures to return its citizens.
Israel detained Hiba al-Labadi, 32, on her way to a wedding at the Allenby crossing in the Jordan Valley on 20 August. Abdul Rahman Miri Miri, 29, was arrested on 2 September as he entered the West Bank from Jordan while heading for a wedding. The Palestinian Authority Prisoners Affairs Commission has said that both of them were held under administrative detention orders. Al-Labadi went on a hunger strike after being arrested which resulted in several hospitalisations. Miri also had health issues as needed regular checkups after battling cancer in 2010.