4 medium garlic cloves, smashed and peeled
4 bay leaves
2 1/2 teaspoons ground cumin
1/2 teaspoon ground allspice
Kosher salt and ground black pepper
1 cup brown lentils, rinsed and drained
1 cup basmati rice, rinsed and drained
1/3 cup peanut oil
2 medium yellow onions, halved and thinly sliced
1 bunch scallions, thinly sliced
Plain whole-milk yogurt, to serve
In a large Dutch oven over medium-high, combine 5 cups water, the garlic, bay, cumin, allspice, 1 tablespoon salt and 1 teaspoon pepper. Bring to a boil, then stir in the lentils and reduce to medium. Cover and cook, stirring occasionally and adjusting the heat to maintain a simmer, until the lentils are softened but still quite firm at the center, about 10 minutes.
Stir in the rice and return to a simmer. Cover, reduce to medium-low and cook until the liquid is absorbed and the lentils and rice are tender, about 25 minutes.
Meanwhile, in a 12-inch skillet over medium-high, heat the oil until shimmering. Add the onions and cook, stirring only occasionally at the start then more frequently once browning begins at the edges of the pan, until the onions are deeply caramelized and crisped, 10 to 15 minutes; adjust the heat if the onions brown too quickly. Using a slotted spoon, transfer the onions to a paper towel–lined plate and spread evenly. Sprinkle with ¼ teaspoon salt and set aside; the onions will crisp as they cool.
When the lentils and rice are tender, remove the pot from the heat. Uncover and lay a kitchen towel across the pan, then replace the lid and let stand for 10 minutes.h