Soak basmathi rice in water for 1/2 hour and cook till done and set aside.
In a drop of oil, fry ingredients mentioned under number 1 and grind to a fine powder.
Again, fry the ingredients mentioned under number 2 and set aside.
In remaining oil and ghee, fry chopped onions till golden brown.
Add frozen peas and salt and cook for another 2 minutes.
Mix everything together(onions-peas mixture, ground powder, fried nuts and raisins) with rice adding some salt.
Finally add pineapple pieces and serve hot.
Variation: If you don't want to use South Indian spice powder mentioned under number 1, you may omit it. Instead fry green chilli and ginger garlic paste in oil/ghee along with onions - peas mixture and cook rice and saffron together. Rest of the procedure is the same.