The Sharia, as it is interpreted through fiqh, lays out how a Muslim must worship God.
As worshippers, Muslims must pray, fast in Ramadan, distribute zakat, and perform the pilgrimage to Mecca. The Sharia lays out these obligations and guides us on how to properly carry them out.
How do I pray if I am injured? In what situations am I exempt from fasting? How do I know when Ramadan begins? What are the steps involved in the pilgrimage?
These are but some of the many questions the Sharia clarifies concerning ritual.
Manuals of Islamic law and curricula of Muslim scholarship typically cover matters pertaining to ritual first, before delving into matters of society.