From Proto-Semitic *zamar-. From the root ز م ر (z m r). Compare Hebrew זימר / זִמֵּר (zimér).
Practice speaking and memorizing "زمر" and many other words and sentences in Arabic.