Alhumdulillah as you mentioned that something he is saying which is neither understandable nor acceptable.
Who will ask you not to listen to your own Shia scholar, who ask you to go to temple and above all astaghferullah he claimed himself as Imam Mahdi as.
Kindly keep distance. May Allah guide him.