Smoke oil in pan and fry finely sliced onions till they are golden brown in colour. Drain them from oil and keep aside to cool.
Now fry all whole spices with grated coconut and poppy seeds in the same oil for 2-3 minutes, drain and keep aside to cool.
Take fried onions and spices together in a grinder and make fine paste.
Now heat the same oil and add ginger garlic and green chilli paste, add mutton pieces and sauté for 8-10 minutes on high heat .
Add spice-onion paste and mix properly. Cook it for 3-4 minutes and then add hot water and allow it to cook. The amount of water depends on the desired gravy consistency. I wanted to make on a thinner side so used water accordingly.
Cover the pan and let mutton cook and oil separates.