After the martyrdom of Musa ibn Ja'far al-Kadhim and the emergence of the Waqifite sect, "Zakaria ibn Idris" went to Ali ibn Musa al-Ridha to investigate the matter of Imamate to ensure he is the head of the madhhab (school of thought).[10]