Buy the book!

A Tableau of a Traditional Arab School

The curriculum was the Qur'an, used also to teach grammar. Once you learned the Qur'an complete, you graduated.