The astronomical keeping of prayer times as well as the construction and maintenance of a mosque's astronomical instruments were just a normal part of academic activities in Muslim cities of the time.