this unbending monotheism , as well as the islamic teaching that all muslims ( regardless of class or gender ) are equal before god , provides the basis for a collective sense of loyalty to god that transcends race , class , and nationality .