Add the washed lentils to a pot of boiling water and cook for 12 minutes. It is supposed to be partially cooked.
Meanwhile, fry the onion in a pot of hot oil while stirring continuously until it's brown and crispy around the edges. Remove it from the oil and place it on absorbent paper.
Add the washed rice, olive oil, a small portion of the caramelized onion (save some to serve the rice with), salt, cumin, black pepper, bay leaves to the pot of lentils.
Add some water and let the rice boil for 5 minutes on medium heat.
Now open the pot, wrap an aluminum foil in the pot opening and use the lid to close the pot. Reduce the heat to low and let it cook for another 10-13 minutes until fluffy and well done.
Remove and serve on a plate, then garnish with the caramelized onion.