In a large skillet over medium heat cook onion until tender. Add the garlic and sausage and continue cooking until sausage is browned. Mix in the beans, ketchup, molasses, sugar, vinegar, mustard, and hot sauce.
Pour mixture into a 13 x 9 casserole dish and bake uncovered for 45 minutes or until mixture is bubbly and thick.