If there is another masjid that you wouldn’t get the same treatment, you should go there. But if this is the only masjid, you must go and pray with them and ignore their statements or show them the hadeeths from the Sunnah books to prove to them that you are following the Prophet salla Allahu alaihi wa sallam more than them.