Frying the paneer cubes is optional. There is also a version of this dish in which the paneer pieces are simply soaked in turmeric water and added directly to the spices without frying first. So it’s entirely upto you based on your taste preferences.