In a medium pot, sweat the chopped onion, garlic and thyme with coconut oil and a pinch of salt.
Once translucent, add beans and bring to a simmer.
Add the coconut milk, water, rice and a pinch of salt and bring to a boil.
Reduce heat to a low simmer and cover for 20 minutes.