Wash the chicken legs in cold water and pat dry. Mix the salt, flour and pepper and dust the legs with it on all sides.
Heat 2 tablespoons of oil in a saucepan and brown the meat on all sides. This takes about 15 minutes, then remove the meat and set aside.
Pour the remaining tablespoon of oil into the saucepan, heat it and sweat the peppers and onions in it. Now add the garlic and sauté briefly. Add the rice and stir-fry for 1 - 2 minutes.
Stir in the tomato paste, season with chilli, thyme, pepper and salt. Finally deglaze with the hot broth. Bring the whole thing to the boil and add the meat again. Close the lid and simmer gently at a very low temperature for about 45 minutes until the meat and rice are cooked through.
Finally stir in the diced ham, olive halves and chopped parsley. Heat the dish again slightly with the pan closed. Then serve immediately.