Heat oil in a pan. Add dried whole spices and saute for a few seconds.
Add chopped onion and garlic. Saute until the onion starts turning brown.
Add coriander powder, red chili powder, crushed kasoori methi, turmeric powder, and ground black pepper. Also, add 1-2 tablespoons of water so that the spices don't get burned.
Saute the spices for about a minute and then add tomatoes, green chili, and salt. Mix everything and cook until the tomatoes turn mushy and are nicely cooked.
Add tomato paste and saute for about a minute.
Next, add boiled beans and cook with the onion-tomato paste for around 1-2 minutes.
Add water and cook for around 5 minutes.
Switch off the stove. Add garam masala, lemon juice, and fresh cilantro. Mix everything.
Serve hot with rice, roti, or naan.