From a Turkic word, ultimately from Arabic مَسْجِد (masjid). Compare Azerbaijani məscid.
маьждиг • (mäždig)