Bangladeshi journalist Zahidur Rahman and engineer Saiful Islam, who went missing, are now under the custody of Bangladesh Ambassador to Libya and are expected to return home by next couple of days.
Foreign Minister Dr AK Abdul Momen on Thursday confirmed that they have been taken under the Ambassador's custody.
Zahidur Rahman is a special correspondent of private TV channel NTV.
Read: 3rd FMC: Dhaka, Seoul agree to elevate comprehensive partnership
The journalist was detained on charge taking photos and videos without prior permission there.
The Libyan government has allowed the duo to return home following negotiation by the Ambassador.
Dr Momen also mentioned the friendly relations between the two countries that helped them get released.