Place the rice in a fine-mesh strainer and rinse under cold running water until the water becomes mostly clear. Drain thoroughly. This helps remove excess surface starch and encourages separate, fluffy grains.
Heat a dry skillet over medium-low heat. Add the sliced almonds and toast for 2–4 minutes, stirring frequently until lightly golden and fragrant. Transfer them to a plate immediately so they do not continue browning in the hot pan.
Heat the butter or olive oil in a medium saucepan over medium heat. Add the chopped onion and cook for 3–4 minutes until softened. If using garlic, add it and cook for another 30 seconds.
Stir in the cinnamon, cumin if desired, black pepper, and salt. Cook briefly to release the aroma of the spices. Keep the seasoning light so the apple and almond flavors remain noticeable.
Add the rinsed and drained rice to the saucepan. Stir gently for 1–2 minutes, coating the grains with the seasoned oil. This step helps develop a pleasant, nutty flavor.
Pour in the vegetable broth or water and bring it to a gentle boil. Reduce the heat to low, cover with a tight-fitting lid, and cook for approximately 15–18 minutes, or according to the rice package instructions. Avoid lifting the lid frequently.
While the rice cooks, cut the apple into small, even cubes. For a slightly softer texture, sauté the apple pieces in a separate skillet with a teaspoon of butter or oil for 2–3 minutes. For a fresher, firmer texture, add them directly to the finished rice.
Once the rice is tender and the liquid has been absorbed, remove the saucepan from the heat. Let it rest, covered, for 5 minutes. Fluff gently with a fork, then fold in the apple pieces, toasted almonds, raisins if using, and lemon juice. Garnish with fresh parsley or mint and serve warm.