The Presidential Palace media office said President Ghani visited the detention facility on the eve of Ashura day.
In his meeting with the inmates, Presient Ghani said the government is obliged to apologize if the convicts are not found guilty by judiciary institutions,.
President Ghani also warned the security officials that they will face punishment if they arrested any individual and keep them in custody without proper documents and evidence to prove their involvement in crime.
He said the duty of police is to investigate the crime and insisted he will no longer tolerate the mistakes of police, prosectors and judiciary institutions.
President Ghani also insisted that the police, attorney general office and judiciary institutions are not allowed to take illegal actions.