Thoroughly clean the hearts, chop the onions and put them together in hot oil. Once the liquid from the hearts boils off and they remain only in oil, add the rice and stir well until they fry.
Season with salt, black pepper and paprika and pour everything into a tray. Add the water and mix well. Put it to bake in a moderately heated oven, until the rice is well boiled.