Heat two tablespoons of oil in a wok saucepan or skillet. Cut the cloves of garlic and fry.
Meanwhile, wash the spinach and finely chop half of it.
When the garlic pieces begin to brown remove them from the oil and add the chopped spinach.
While the spinach is frying add in a mixer twice as much water as the amount of rice you will cook along with the rest of the spinach that has not been yet used and a pinch of salt. Beat at medium speed for 30 seconds or until a greenish liquid is obtained.
When the spinach you are frying is ready, that is, it has softened and acquired a much darker green color, add the rice and fry for a few seconds. Add more oil if necessary.
Immediately after, add the water with spinach that has been beaten to the casserole or wok pan, cover and raise the heat. You have to let the rice cook for as many minutes as necessary, according to the instructions on the package of rice.
Finally, when cooked, turn off the heat, let it rest for at least 10 minutes and serve.