Imprisonment - rightly or unlawfully - is one of these experiences, as time stops, hours go on, and in every age you will not be pleased - as the Arab poet said in his prison.
One of the harshest punishments for this type of people was to forbid reading and writing, and forbidding paper and pen.!
The history of classification still mentions Imam Sarkhasi in the fifth century AH, and his book (Al-Mabsut), which was printed in thirty volumes, and comprehended all the chapters of Hanafi jurisprudence, as he composed it all or most of it from his memory while he was imprisoned by his emptiness, and he used to dictate it to his students from the bottom of the pit, while they were around the well they write.
Including the book (Translator of the Qur’an) by Imam Abi Al-A'la Al-Mawdudi and many parts of (In the Shadows of the Qur’an) by Sayed Qutb and (Martyr of the Mihrab: Omar bin Al-Khattab) by Omar Al-Tlemceni, (Chapters in the Science of Al-Sagnologia) by Sherif Al-Ras, and a collection of (In the Ghubiyat Al-Jabb) Muhammad al-Hasnawi.!
And a number of books by novelist Naguib Al-Kilani were among the fruits of the prison. He says about his novel (The Long Path): I wrote it in Assiut prison, and then it was published while I was in Cairo prison, as was his novel (Tale'i al-Fajr).
Authored by prisons The writer passed through circumstances and experiences