In 1357, Ibn Khaldun was imprisoned for nearly two years. What would prison be like in 14th century North Africa?

by Vladith
StormyRaindeer

Follow up question: What would the process be for determining if someone went to jail or not? Say I committed homicide, what might my future be?