Borrowed from Classical Persian عالم ('ālim), from Arabic عَالِم (ʕālim), with plural عُلَمَاء (ʕulamāʔ) whence उलमा (ulamā).
आलिम • (ālim) (indeclinable, Urdu spelling عَالِم)