If using basmati rice, rinse it in several changes of water until the water runs clear. For best results, soak for 15-30 minutes, then drain completely.
Heat the ghee or oil in a heavy-bottomed saucepan over medium-low heat.
Add the cashews and stir-fry until golden brown.
Remove with a slotted spoon and set aside. Increase the heat to medium, add the panir cubes, and fry, turning gently, for 5–8 minutes until golden on all sides.
Remove and set aside with the cashews.
To the same pan, add the cumin seeds, black mustard seeds, and sweetener.
Stir constantly until the sweetener caramelizes to a rich reddish-brown. Immediately add the diced tomatoes to stop the cooking process and prevent burning.
Stir in the turmeric, coriander, nutmeg, and cayenne pepper, followed by the drained rice.
Stir-fry for 2–3 minutes until the rice is well-coated with spices.
Pour in the water and salt, and bring to a rolling boil.
Stir in the fresh chopped spinach.
Reduce the heat to the lowest setting, cover with a tight-fitting lid, and simmer gently for 20–25 minutes, without stirring, until the rice is tender and all the water is absorbed.
Remove the pan from the heat and let it stand, covered, for 5 minutes. This allows the delicate rice grains to firm up.
Gently fold in the fried cashews, panir cubes, and fresh lemon juice.
Serve hot, garnished with lemon or lime wedges.
Don't skip the 5-minute resting period after cooking. This step is crucial for allowing the rice grains to firm up, ensuring a fluffy, not mushy, texture.