Rinse the rice under cold water until the runoff is mostly clear. Soak it in a bowl of water for 20 minutes, then drain. While it soaks, crush the cardamom pods and measure out the gur.
Put the milk, bay leaves, cardamom and salt in a 24 cm / 9.5-inch heavy-bottomed pot over medium heat. Bring to a boil, about 10 minutes, stirring every minute or two. Drop to medium-low and simmer 10 minutes more, until the milk has reduced by about a fifth and looks slightly creamy.
Add the drained rice. Simmer on low for 25 minutes, stirring every 3 to 4 minutes and scraping the base, until a grain crushes easily between your fingers and the milk coats the back of a spoon.
In the last 5 minutes of simmering, melt the ghee in an 18 cm / 7-inch skillet over medium-low heat. Fry the cashews and raisins for 2 to 3 minutes until the cashews turn golden and the raisins puff. Set aside.
Turn off the heat under the payesh and rest it for 5 minutes, until the bubbling stops completely. If the gur is a block, crumble it. Stir in half the gur until dissolved, taste, then add the rest. The color should turn a warm caramel-tan.
Stir in the fried cashews, raisins and any ghee from the skillet. Fish out the bay leaves. Serve warm, or chill and loosen with a splash of milk before serving.