This article unearths two Jawi manuscripts pertaining to Muslim miracle-workers, or pawangs, who were key intermediaries of agrarian change in the interior of modern Malaya. These compendia of frontier patois are analysed to recount a history of rice worlds and environments wherein forest clearing and rice cultivation were directly associated with the Islamic esoteric science (ilmu) of pawangs. As professional miracle-workers, pawangs were employed to spearhead a broad range of socio-economic activities in western Malaya. As pivots of cults joined by Malay peasants, pawangs were venerated as heirs of agrarian prophets and saints from earlier Islamic periods, and esteemed for their fertility rituals and miracles in contemporary forests and ricefields. This article analyses the elaborate Islamic genealogies of pawangs and popular historical traditions that were recorded in these texts, and investigates how these documents were informative about the religio-economic sensibilities of cultivators. This article also pays particular attention to how pawangs negotiated with a variety of Islamic and African spirits in Malayan forests, to lead forest clearing and rice production and to mobilize labourers. It further presents explorations into the social and spiritual cosmopolitanism of pawangs and peasants upon the modern Malay frontier, whose labour and connected histories are yet to be written.