In a shallow bowl, season the flour with the salt and pepper.
Roll chicken pieces in flour to coat.
Melt the butter in a large non stick pan, when hot, brown the chicken on all sides. Remove from pan.
Cook onions in the butter until tender.
Preheat your oven to 180° C (350° F), get out a 7x11 baking dish.
Add the raisins and cook until they puff up.
Stir in the rice, coconut, and peanuts.
Sprinkle on the curry powder and mix into the rice mixture.
Pour mixture into the baking pan and spread out evenly.
Top the rice with the chicken pieces.
Bake for 1 hour or until chicken is cooked through and tender.
Serve and enjoy.