Take spinach leaves, remove all the stems.
Wash in water twice or thrice.
Add them to a cooker with ¼ tsp of salt, green chilies, and ½ cup of water.
Cook them till 1 whistle, then turn off the flame.
When the pressure is released, transfer them to a strainer for draining water.
When it's a little cool, add the boiled spinach leaves to a blender with ½ cup of water.
Blend to make a smooth paste.
Heat oil in a kadai, add dried red chilies, and cumin seeds. Let them crackle.
Add chopped onion and garlic, saute till golden. After a few seconds, add ginger paste.
When they are sauteed pour the spinach paste.
Add ½ salt and mix well. Cook it for 5 minutes minutes on low heat.
Add paneer cubes to it. Mix well and cook for 5 minutes.
Now Turn off the flame, the palak paneer is ready to serve.