First, wash and soak basmati rice in plenty of water for 15 minutes. Once the 15minutes are over, drain the water from the rice and keep it aside.
Next, in a blender add green chillies, garlic pods, ginger and grind into a smooth paste by adding some water.
Now, place the inner pot inside of the instant pot and switch on the saute mode. Once the inner pot is hot, add oil and ghee.
Then add shahi jeera, cloves, cinnamon, cardamom and bay leave and stir it well.
Next, add chopped onions and fry it until the onion is translucent.
After that, add ground paste and sauté for 3-5 minutes.
Then add finely chopped spinach leaves and sauté for few minutes.
Now add the soaked rice and sauté for few minutes. Then add garam masala and mix well.
Add 1 ¼ cup of water and adjust the salt according to your taste. Mix well. Cancel the saute mode.
Then close the lid and keep the valve in sealing mode. Select pressure cook mode and set to high pressure for 5 minutes.
Once the cooking time is done, allow 10 minutes and release pressure manually.
Finally add the frozen peas and mix well without breaking the rice.