Borrowed from Classical Persian مزگت (mazgit) / مسجد (masjid), ultimately from Arabic مَسْجِد (masjid).
𑘦𑘲𑘕𑘲𑘐𑘲𑘝𑘲 (mījīgītī) f