This is the first investigation of one of the main interests of astronomy in Islamic civilization, namely, timekeeping by the sun and stars and the regulation of the astronomically-defined times of Muslim prayer. The study is based on over 500 medieval astronomical manuscripts first identified by the author, now preserved in libraries all over the world and originally from the entire Islamic world from the Maghrib to Central Asia and the Yemen. The...