When Hazrat Mahdi (as) appears he will have links with Jews from the tribe of the Prophet Moses (as) who believe and are honest before Allah and one group from these people will act alongside him.
In his book al-Irshad, Sheikh al-Mufid narrates that Abu Abdullah reported from al-Mufadhal ibn Umar: “THERE WILL BE A PEOPLE FROM THE TRIBE OF MOSES (AS)... ALONGSIDE HAZRAT MAHDI (AS).” (Sheikh al-Mufid, Kitab al-Irshad, p. 402)