In a casserole set over moderate heat, warm the oil, add the lentils, asafetida powder, turmeric, and chilies and cook, stirring, until sizzling. Add the mustard seeds and cashew nuts, and cook, stirring, for 5 minutes. Add the rice, lemon juice, and salt to taste and cook, stirring occasionally, until heated.