Public rituals like communal prayer, almsgiving, and collective fasting—the first three activities mandated by Islam—when combined with shared dietary regulations and purity requirements, functioned in the Ummah in much the same way that the activities of the tribal cult did in pagan societies: by providing a common social and religious identity that allowed one group to distinguish itself from another.

