In a large pot, add the minced garlic, scallion, and thyme.
Pour in the coconut milk, water, kidney beans, allspice, salt, and black pepper. Give it a good stir to combine all the ingredients. Bring to a boil. Add butter and salt to taste.
Add the rice to the pot and stir it into the mixture ensuring the rice is well coated.
Bring the mixture to a boil, then reduce the heat to low. Cover the pot and let it simmer for about 20-25 minutes, or until the rice is tender and the liquid is absorbed. Avoid lifting the lid while cooking to ensure even cooking.
Once the rice is cooked, remove the pot from the heat and let it sit covered for about 5 minutes to allow the flavors to meld together.
Fluff the rice with a fork before serving.