A number of revolutionary movements in early Islam which, while adhering with the Ismailis to the Imamate of Ismāʿīl b. Jaʿfar, were generally opposed to the Fatimids .