Add horse gram to a pot. Pick and discard any stone and debris. Rinse very well 4 to 5 times. Pour 3 cups water and soak them overnight.
In the morning discard the water if you want. A lot of people want to use the same water since all of the flavor is in the soaked water.
On a medium heat, pressure cook the lentils with 1 cup water for 1 whistle. Lower the heat and cook for another 30 minutes, until soft and tender. To cook in instant pot, press the pressure cook button and set the timer to 10 mins.
When the pressure drops, open the lid and check horse gram has to be soft yet hold its shape. If the lentils are still undercooked pressure with a little more water for little longer.
Pour oil or ghee to a pan and heat it. Turn the flame to medium and add mustard, cumin, dal and red chilli.
Saute until the dal turns golden. Then add crushed garlic, green chili and curry leaves.
Fry till the garlic and chilli begins to smell good. Reduce the heat and add salt, turmeric, red chilli powder, cumin powder and coriander powder.
Stir and add the cooked horse gram along with the stock (water in which they were cooked). Increase the flame slightly and cook covered so they absorb the flavors of the spices.
After 3 mins, open cook until all of the water evaporates. Taste test and add more salt if required. Add the coconut and mix well. Turn off the heat.
Squeeze some lemon juice before serving the tempered horse gram dal with plain rice, roti or a side with rasam rice.