Inherited from Ottoman Turkish مقیم (mukîm), from Arabic مُقِيم (muqīm).
Practice speaking and memorizing "mukim" and many other words and sentences in Turkish.