First, drain and rinse the beans thoroughly.
Finely mince the garlic cloves and chop the potatoes into large chunks.
In a pot over medium heat, add olive oil.
Once the oil is hot, add the Sofrito and minced garlic. Saute for about 15 seconds just until fragrant.
Add the ham and saute for 3-4 minutes.
Add the olives, adobo, Sazon, chicken bouillon cube, bay leaves, oregano and tomato sauce. Stir to combine.
Add the potatoes, beans and water. Give everything a quick stir.
Increase the heat to medium high and bring the habichuelas to a boil.
Once the beans begin to boil, decrease the heat to low, cover and simmer until the potatoes are fork tender. This may take about 20 minutes or so depending on the power of your stove.
Finally, serve over rice with your favorite meat or chicken dish and enjoy!