“…The jurists consider that one of the most important purposes of the prison is to reform the prisoners and discipline them in order to be removed from the evil, and there is no doubt that useful knowledge is one of the factors that help this, because science develops the prisoner's perceptions, and corrects the wrong way of thinking, so we find that the Prophet Joseph (peace be upon him) He calls those imprisoned with him in his prison and teaches them the purpose of their creation and their existence (41), and in that God Almighty says: "O prison owners, are the dispersed heads of the best of the one omnipotent mother, what you do not worship without him except things that you called him and that God and His forefathers are the rulers of God. It is only God's command that you worship only this valuable religion N most people do not know " (42). In the Abbasid era, the prisoners had the right to request what they needed to write and read, so we find, for example, that Harun al-Rashid once imprisoned Abu al-Ataiah, and he spotted on him what he said, so he once wrote on the wall of the sense: "As for God, injustice is a tattoo, and the responsible is still Oppression " (43).…”