Bring the water to a boil in a large covered pot. Add the beans, olive oil, garlic, red pepper flakes, fennel seeds, bay leaf, and parsley. Cook over medium heat, uncovered, for 1 hour, stirring frequently.
Add the tomatoes and continue cooking for 30 minutes. Add the rice, salt, and pepper. Lower the heat and simmer for 1 hour, stirring frequently until the be