Six Egyptian workers abducted by an armed group in Libya arrived at El-Salloum border crossing Monday afternoon after their release two days earlier, state-owned MENA news agency reported.
The Egyptian workers were abducted by an armed group in Bani Walid ten days ago and held for a 200,000 Libyan dinar ransom.
The circumstances surrounding their release are not yet clear.
The Egyptians, who worked in Tripoli, were set upon as they were travelling back to Egypt, according to Egypt's Ministry of Foreign Affairs.
Egyptian authorities had said that the foreign ministry, Egypt's embassy and Egyptian intelligence were following up on the situation and were working on freeing the hostages.
The foreign ministry reiterated its call that all citizens should avoid travelling to Libya due to the unstable security conditions in the war-torn country.
In 2015, the Egyptian government issued a warning to citizens to avoid travelling to Libya after the Islamic State militant group killed 20 Egyptian migrant workers near Derna.
The warning was renewed later that year and is still in effect.